梦江南 发表于 2025-2-18 12:08

思念陪着鸿雁飞 (学习黑黑老师的代码)


<style>
      #papa { margin: 0 0 0 calc(50% - 681px); width: 1200px; height: 800px; position: relative; background: silver url('https://pic1.imgdb.cn/item/67b3ed04d0e0a243d4005dbf.png') no-repeat center/cover; box-shadow: 4px 4px 8px rgba(0,0,0,.6); overflow: hidden; display: grid; place-items: center; --state: paused;border-radius:32px }
      #mplayer { position: absolute; bottom: 15px; text-align: center; color: #3b3b3b; }
      #mplayer p { margin: 0; padding: 0; cursor: pointer; }
      #mprog { width: 240px; accent-color: lightyellow; outline: none; cursor: pointer; }
      #btnplay { width: 60px; animation: rotating 6s infinite linear var(--state); }
      #lrc { --motion: cover2; --tt: 1s; --bg: repeating-linear-gradient(135deg, orange 1px, yellow 6px); position: absolute; top: 15px; font: bold 2.4em sans-serif; color: hsl(100, 100%, 90%); white-space: pre; -webkit-background-clip: text; filter: drop-shadow(1px 1px 2px hsla(0, 100%, 0%, .85)); pointer-events: none; z-index: 900; }
      #lrc::before { position: absolute; content: attr(data-lrc); width: 0%; height: 100%; color: transparent; border-bottom: 6px dotted orange; overflow: hidden; white-space: pre; background: var(--bg); filter: inherit; background-clip: text; -webkit-background-clip: text; animation: var(--motion) var(--tt) linear forwards var(--state); }
      
      @keyframes cover1 { from { width: 0%; }to { width: 100%; } }
      @keyframes cover2 { from { width: 0%; }to { width: 100%; } }
      @keyframes rotating { to { transform: rotate(360deg); } }

</style>

<div id="papa">
      <audio src="https://music.163.com/song/media/outer/url?id=2606979076.mp3" autoplay loop></audio>
    <img id="dt7" src="http://tuku.link/imgs/2023/10/de14c581eb6e09c2.gif" alt="" style=" position: absolute; width:530px;height: 250px;top: 220px;left: 50px;"/>
   
      <div id="mplayer">
                <p><img id="btnplay" src="https://638183.freep.cn/638183/t23/btn/meihua_133482968750383750.png" title="播放/暂停" alt="" /></p>
                <p>
                        <output id="mcur">0:00</output>
                        <input id="mprog" type="range" min="0" step="any" max="100" value="0" title="调节进度" />
                        <output id="mdu">0:00</output>
                </p>
      </div>
      <div id="lrc" data-lrc="HuaChao LRC Player">HuaChao LRC Player</div>
</div>

<script>
      var geci = [ ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ];
      var sf = document.createElement('script');
      sf.src = 'https://638183.freep.cn/638183/web/js/lrcku_range.js';
      sf.charset = 'utf-8';
      document.querySelector('body').appendChild(sf);
      vid.onclick = (e) => aud.paused ? aud.play() : aud.pause();
</script>

起个网名好难 发表于 2025-2-18 13:03

https://dingyue.ws.126.net/2019/1117/f41c4906g00q12n55001ic200hs00hsg00hs00hs.gif

世外桃源 发表于 2025-2-18 14:01

问好老师 佳作欣赏

世外桃源 发表于 2025-2-18 14:01

感谢分享

梦江南 发表于 2025-2-18 14:10

起个网名好难 发表于 2025-2-18 13:03


问好老师,谢谢沙发支持。

梦江南 发表于 2025-2-18 14:10

世外桃源 发表于 2025-2-18 14:01
问好老师 佳作欣赏

问好版主老师,谢谢支持。

梦江南 发表于 2025-2-18 14:11

世外桃源 发表于 2025-2-18 14:01
感谢分享

谢谢,谢谢,再次互动支持。

红影 发表于 2025-2-18 19:51

这带着小点点的歌词同步真好。欣赏江南好帖{:4_199:}

小辣椒 发表于 2025-2-18 21:28

阿姨一个个在补作业,小辣椒还有许多梦游做的

小辣椒 发表于 2025-2-18 21:29

向阿姨学习,每个作业都做的非常认真,效果也是棒棒的!
页: [1]
查看完整版本: 思念陪着鸿雁飞 (学习黑黑老师的代码)