查看: 601|回复: 37

[单图] 【黑师代码】响沙湾的呼唤(致:姚云裳)

[复制链接]
一叶知秋 版主勋章 山高为峰 山外有山 樱果相依 24 46 47 48 闲花落
发表于 2024-1-28 18:57 | 显示全部楼层 |阅读模式

0:00 0:00
HuaChao LRC Player








评分

6

查看全部评分

点评
回复

使用道具

一叶知秋 版主勋章 山高为峰 山外有山 樱果相依 24 46 47 48 闲花落
 楼主| 发表于 2024-1-28 18:58 | 显示全部楼层
本帖最后由 花简静 于 2024-2-19 20:55 编辑

<style>
        #papa { margin: 0 0 0 calc(50% - 931px); width: 1700px; height: 900px; top:130px;position: relative; background: lightblue url('https://pic.imgdb.cn/item/65ae6187871b83018a98b1b0.jpg') no-repeat center/cover; box-shadow: 4px 4px 8px rgba(0,0,0,.6); overflow: hidden; display: grid; place-items: center; --state: paused; }
        #papa::before {
        position: absolute;
        content: '';
        width: 100%;
        height: 100%;
        background: url('https://pic.imgdb.cn/item/65ae633e871b83018aa04268.jpg') no-repeat center/cover;
        clip-path: ellipse(30px 20px at 00% center);
        transition: 4s;
}
#papa:hover::before {
        clip-path: ellipse(620px 520px at 16% center);
}
        #mplayer { position: absolute; bottom: 10px; text-align: center; color: white; }
        #mplayer p { margin: 0; padding: 0; cursor: pointer; }
        #mprog { width: 240px; accent-color: darkgreen; outline: none; cursor: pointer; }
        #btnplay { width: 80px; animation: rotating 6s infinite linear var(--state); }
        #lrc { --motion: cover2; --tt: 1s; --bg: linear-gradient(180deg,hsla(100,10%,50%,.75),hsla(100,100%,20%,.65)); 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; 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); }
        #papa video { position: absolute; top: -70px; width: 100%; height: 110%; opacity: .6;object-fit: cover; pointer-events: none; mix-blend-mode: multiply; }
        .ipic { position: absolute;left:200px;top:200px;width: 460px;height: 460px;mix-blend-mode: color-dodge; opacity: .9;animation: rotating 6s infinite 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">
        <img class="ipic" alt="" src="https://pic.imgdb.cn/item/65b3c398871b83018a80649f.png" />
        <audio src="https://music.163.com/song/media/outer/url?id=27591236" autoplay loop></audio>
        <video src="https://img.tukuppt.com/video_show/2269348/00/14/52/5e53266896292.mp4" autoplay loop></video>
        <video src="" loop muted></video>
        <div id="mplayer">
                <p><img id="btnplay" src="https://638183.freep.cn/638183/small/002_133507167677724892.png" title="播放/暂停" alt="" /></p>
                <output id="mdu">0:00</output>
                <input id="mprog" type="range" min="0" step="1" max="100" value="0" title="调节进度" />
                <output id="mcur">0:00</output>
        </div>
        <div id="lrc" data-lrc="HuaChao LRC Player">HuaChao LRC Player</div>
</div>

<script>
        const geci = [
        [0.75,"单曲:命运",0.9],
        [1.66,"歌手:家家",1.0],
        [2.69,"所属专辑:《兰陵王》电视剧原声带",1.1],
        [3.81,"作词 : 陈没",1.2],
        [5,"作曲 : 五月天/五月天 怪兽",1.1],
        [6.08,"编曲 : Cola Kai",1.0],
        [7.07,"作词 : 陈没",0.8],
        [7.86,"作曲 : 怪兽",0.7],
        [8.61,"编曲 : Cola Kai",0.7],
        [9.32,"学习黑师《尘埃》歌词+range进度条播放器效果",5.0],
        [14.32,"能不能蒙上眼睛 就可以不伤心",5.3],
        [21.19,"能不能脱下面具 还可以很狠心",5.6],
        [28.07,"如果不是遇见你 我不可能相信",5.6],
        [35.23,"生命有一种一定 一定要爱下去",5.5],
        [41.47,"",1.6],
        [43.06,"爱可以相知相许 相依为命",4.0],
        [47.03,"却听天由命",2.8],
        [50.04,"爱可以心有灵犀 动魄惊心",4.4],
        [54.45,"却难以抗拒流星的宿命",4.0],
        [59.41,"",1.4],
        [60.78,"我属于 你的注定",3.2],
        [64.01,"不属于 我的命运",3.0],
        [67.01,"不要命 不要清醒",4.0],
        [71.01,"还有梦能紧紧抱着你",3.0],
        [74.05,"爱写出 我的诗经",4.0],
        [78.08,"算不出 我的命运",4.3],
        [82.41,"你给我的命 下一辈子再还你",4.5],
        [88.18,"",4.9],
        [93.06,"如果能如影随形",3.8],
        [96.91,"谁愿意一意孤行",2.8],
        [100.54,"如果能变成蚂蚁",2.5],
        [103.05,"我愿意趋近于零",4.0],
        [107.03,"冥冥中明明是你",4.0],
        [111.05,"明明还不死心",3.6],
        [114.62,"生命是一个谜语",3.4],
        [118.01,"因为你而悬疑",2.9],
        [121.09,"最初的一心一意 深信不疑",4.0],
        [125.13,"不能没有你",2.1],
        [128.04,"最后的情非得已 身不由己",3.8],
        [132.19,"当物换星移 今夕是何夕",3.9],
        [137.44,"",0.6],
        [138.04,"我属于 你的注定",3.6],
        [141.93,"不属于 我的命运",3.2],
        [145.45,"不要命 不要清醒",3.3],
        [149.6,"还有梦能紧紧抱着你",2.4],
        [152.04,"爱写出 我的诗经",3.9],
        [155.97,"算不出 我的命运",4.1],
        [160.04,"你给我的命 下一辈子再还你",4.4],
        [164.48,"",16.4],
        [180.9,"我属于 你的注定",3.8],
        [184.72,"不属于 我的命运",2.9],
        [188.09,"不要命 不离不弃",2.9],
        [191.03,"暴风雨里静静的运行",4.0],
        [195.04,"爱写出 我的诗经",3.0],
        [198.06,"算不出 我的命运",3.9],
        [202.03,"你借我的命 还给天地还给你",5.1]
];
        const 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);
</script>
<br><br><br><br><br><br><br><br>







    
点评
回复

使用道具

一叶知秋 版主勋章 山高为峰 山外有山 樱果相依 24 46 47 48 闲花落
 楼主| 发表于 2024-1-28 18:58 | 显示全部楼层
点评
回复

使用道具

一叶知秋 版主勋章 山高为峰 山外有山 樱果相依 24 46 47 48 闲花落
 楼主| 发表于 2024-1-28 18:58 | 显示全部楼层
@姚云裳 很喜欢你的作品,希望在这里玩得开心哦。。
点评
回复

使用道具

*破姐小跟班*
一叶知秋 版主勋章 音画同行 山高为峰 山外有山 24 46 47 48 彩凤凰
发表于 2024-1-28 20:56 | 显示全部楼层
看静静的图大开眼界,特效加的太好看了
点评
回复

使用道具

*破姐小跟班*
一叶知秋 版主勋章 音画同行 山高为峰 山外有山 24 46 47 48 彩凤凰
发表于 2024-1-28 20:57 | 显示全部楼层
静静太会选歌了,每首歌都好听
点评
回复

使用道具

*破姐小跟班*
一叶知秋 版主勋章 音画同行 山高为峰 山外有山 24 46 47 48 彩凤凰
发表于 2024-1-28 20:57 | 显示全部楼层
问好静静,我是你的超级粉丝
点评
回复

使用道具

*破姐小跟班*
一叶知秋 版主勋章 音画同行 山高为峰 山外有山 24 46 47 48 彩凤凰
发表于 2024-1-28 20:58 | 显示全部楼层
借静静美图,姚云裳收礼开心,周末快乐!
点评
回复

使用道具

一叶知秋 山外有山 山高为峰 版主勋章 音画同行 梧桐鸟
发表于 2024-1-28 21:23 | 显示全部楼层
图是越看越精彩,简静的代码运用的完美!
点评
回复

使用道具

一叶知秋 山外有山 山高为峰 版主勋章 音画同行 梧桐鸟
发表于 2024-1-28 21:23 | 显示全部楼层
祝收礼的朋友开心快乐!
点评
回复

使用道具

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|千山论坛

GMT+8, 2024-9-20 07:31

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表