朵拉 发表于 2024-3-1 23:31

如果爱忘了(马黑黑原创)

本帖最后由 朵拉 于 2024-3-1 23:47 编辑 <br /><br /><style>
    #papa { margin: 0 0 0 calc(50% - 612px); display: grid; place-items: center; width: 1080px; height: 683px; background: url('https://pic.imgdb.cn/item/65e1f5549f345e8d0314bebe.jpg') no-repeat center/cover, radial-gradient(black, rgba(255,0,0,.7)); background-blend-mode: screen; box-shadow: 3px 3px 20px #000; overflow: hidden; position: relative; z-index: 1; }
    #lrc { position: absolute; left: 15px; bottom: 10px; font: bold 2.4em sans-serif; color: silver; text-shadow: 1px 1px 1px rgba(250,250,250,.75); --ani: lrcGo1; --duration: 1s; }
    #lrc::before { position: absolute; content: attr(data-lrc); width: 100%; height: 100%; color: transparent; background: linear-gradient(white, red); background-clip: text; -webkit-background-clip: text; clip-path: inset(0 100% 0 0); animation: var(--ani) var(--duration) linear forwards var(--state); }
    #mplayer { position: absolute; right: 10px; 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: pink; outline: none; cursor: pointer; opacity: .7; }
    #mprog:focus { accent-color: red; }
    #btnplay { width: 50px; height: 50px; cursor: pointer; animation: rotating 6s infinite linear var(--state); }
    #btnplay:hover { filter: invert(.2); }
    #btnFs { position: absolute; bottom: 10px; color: silver; background: none; opacity: 0; border: 2px solid silver; border-radius: 6px; padding: 4px; transition: all .75s; cursor: pointer; z-index: 100; }
    #papa video { position: absolute; bottom: 0; width: 100%; height: calc(100% + 100px); object-fit: cover; mix-blend-mode: soft-light; pointer-events: none; }
    @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); } }
    @keyframes move { to { offset-distance: 100%; } }
</style>

<div id="papa">
    <audio id="aud" src="https://music.163.com/song/media/outer/url?id=2124385868" loop autoplay></audio>
    <video src="https://img.tukuppt.com/video_show/2629112/00/02/33/5b581c9b1c300.mp4" muted loop></video>
    <video src="https://img.tukuppt.com/video_show/7165162/00/18/80/5ef2f4b952f61.mp4" muted loop></video>
    <div id="mplayer" data-tt="0:00 0:00">
      <img id="btnplay" src="https://638183.freep.cn/638183/small/hxxb.webp" title="播放/暂停" alt="" /><br>
      <input id="mprog" type="range" min="0" max="100" step="any" value="0" title="调节进度"    />
    </div>
    <div id="btnFs">全屏观赏</div>
    <div id="lrc" data-lrc="HuaChao LRC">HuaChao LRC</div>
</div>

<script>
    let geci = [         ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ];
    var sF = document.createElement('script');
    sF.charset = 'utf-8';
    sF.src = 'https://638183.freep.cn/638183/web/js/rangelrc_fs.js';
    document.querySelector('body').appendChild(sF);
</script>

朵拉 发表于 2024-3-1 23:48

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

红影 发表于 2024-3-2 09:51

这个制作真漂亮。欣赏朵宝好帖{:4_187:}

马黑黑 发表于 2024-3-2 11:04

单依纯最近火了

梦油 发表于 2024-3-2 11:10

欣赏佳作,问候朵拉。
页: [1]
查看完整版本: 如果爱忘了(马黑黑原创)