朵拉 发表于 2024-3-9 21:07

若是月亮还没来(马黑黑原创)

本帖最后由 朵拉 于 2024-3-9 22:05 编辑 <br /><br /><style>
#papa { margin: 0 0 0 calc(50% - 681px); width: 1200px; height: 800px; background: url('https://pic.imgdb.cn/item/65ec66c49f345e8d035e166f.png') 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: white; 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=2119795491" 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 = [ ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ];
</script>

朵拉 发表于 2024-3-9 21:45

@马黑黑
老师 晚上好,学生交作业,请指正哈{:4_190:}

马黑黑 发表于 2024-3-9 21:48

歌词有乱码

红影 发表于 2024-3-10 08:39

奇怪,貌似又一次也看到歌词的乱码呢。这个不知道怎么出来的{:4_204:}
页: [1]
查看完整版本: 若是月亮还没来(马黑黑原创)