|
|

楼主 |
发表于 2024-2-5 11:37
|
显示全部楼层
帖子代码
- <style>
- #papa { margin: 0 0 0 calc(50% - 681px); width: 1200px; height: 800px; background: url('https://638183.freep.cn/638183/t24/jpg/f7.jpg') no-repeat center/cover; box-shadow: 3px 3px 20px #000; position: relative; overflow: hidden; z-index: 1; display: grid; place-items: center; }
- #papa::before { position: absolute; content: ''; inset: 0 0 0 0; background: radial-gradient(lightgreen, transparent,green); opacity: .35; }
- #papa video { position: absolute; top: -70px; width: 100%; height: calc(100% + 70px); object-fit: cover; mix-blend-mode: color-dodge; opacity: .4; }
- #lrc { position: absolute; top: 10px; font: bold 2.4em sans-serif; color: lightblue; text-shadow: 1px 1px 1px rgba(0,0,0,.45); user-select: none; --ani: lrcGo1; --duration: 1s; }
- #lrc::before { position: absolute; content: attr(data-lrc); width: 100%; height: 100%; color: transparent; background: repeating-linear-gradient(90deg, lightblue 3px, green 6px); background-clip: text; -webkit-background-clip: text; clip-path: inset(0 100% 0 0); border-bottom: 2px dashed lightblue; animation: var(--ani) var(--duration) linear forwards var(--state); }
- #mplayer { position: absolute; bottom: 10px; text-align: center; color: lightblue; }
- #mplayer::before { position: absolute; content: attr(data-tt); left: 0; bottom: 25px; width: 100%; text-align-last: justify; }
- #mprog { width: 280px; accent-color: darkgreen; outline: none; cursor: pointer; }
- #mprog:focus { accent-color: gold; }
- #btnplay { width: 80px; height: 80px; cursor: pointer; animation: rotating 6s infinite linear var(--state); }
- #btnplay:hover { filter: invert(.2); }
- @keyframes rotating { to { transform: rotate(360deg); } }
- @keyframes lrcGo0 { to { clip-path: inset(0 0 0 0); } }
- @keyframes lrcGo1 { to { clip-path: inset(0 0 0 0); } }
- </style>
- <div id="papa">
- <audio src="https://music.163.com/song/media/outer/url?id=1897356369" autoplay loop></audio>
- <video src="https://img.tukuppt.com/video_show/15653652/01/04/43/614448e498100.mp4" loop muted></video>
- <div id="mplayer" data-tt="0:00 0:00">
- <img id="btnplay" src="https://638183.freep.cn/638183/t23/btn/meihua_133482968750383750.png" title="播放/暂停" alt="" /><br>
- <input id="mprog" type="range" min="0" max="100" step="any" value="0" title="调节进度" />
- </div>
- <div id="lrc" data-lrc="HuaChao LRC">HuaChao LRC</div>
- </div>
- <script>
- var sF = document.createElement('script');
- sF.src = 'https://638183.freep.cn/638183/web/js/rangelrc2024.js';
- sF.charset = 'utf-8';
- document.querySelector('body').appendChild(sF);
- var geci = [ [1.58,"倒影",8.4], [9.99,"词/曲/唱:朱恒锐/一支榴莲",3.8], [13.78,"她温柔的触摸",5.2], [20.29,"抚平岁月的蹉跎",4.4], [26.66,"她在眼中描摹",4.9], [33.14,"晕染人世的浑浊",4.2], [38.8,"夜空中 星河翻涌",5.3], [45.11,"点亮无数夏日和寒冬",6.1], [51.52,"她如同 烟花冢",5.3], [57.86,"陨灭后 摘下面具的天空",6.2], [64.97,"流啊流 灌溉你心底那片绿洲",7.8], [77.89,"走啊走 逃不出莽莽荒漠的尽头",8.3], [90.34,"你说 你的世界是灰色的",3.8], [94.53,"没有动人美丽的花朵",2.9], [97.78,"流星从宇宙坠落",2.3], [100.04,"美景在你眼中显得那么落寞",2.9], [103.33,"你看 风的颜色是温暖的",3.6], [107.39,"世界本身盛开的独特",3.0], [110.55,"陨石被愿望附着",2.0], [112.96,"快乐的 感动的 希望的 内心包裹",3.8], [129.22,"不知不觉变成了空壳",2.9], [132.27,"思想绚丽任由她掌握",3.0], [135.48,"禁锢自我还任人驱策",3.0], [138.72,"自由才是我第一选择",3.0], [141.76,"世界承载着悲欢离合",3.2], [145.04,"鲜花也有凋零的时刻",3.5], [148.53,"美好和残酷形形色色",2.8], [151.38,"好好享受她给予的任何",5.3], [157.49,"你说 你的世界是灰色的",3.9], [161.68,"没有动人美丽的花朵",2.9], [164.96,"流星从宇宙坠落",2.3], [167.26,"美景在你眼中显得那么落寞",2.8], [170.27,"你看 风的颜色是温暖的",3.9], [174.53,"世界本身盛开的独特",2.8], [177.79,"陨石被愿望附着",2.2], [180.12,"快乐的 感动的 希望的 内心包裹",5.0] ];
- </script>
复制代码
|
|