踏马向自由
<style>#papa {margin: 150px 0 30px calc(50% - 798px); width: 1440px; height: 803px; position: relative; background: silver url('https://img-baofun.zhhainiao.com/pcwallpaper_ugc/scene/7518def830506f5fecc4ff8e6740acd4_preview.jpg') no-repeat center/cover; box-shadow: 4px 4px 8px rgba(0,0,0,.6); overflow: hidden; display: grid; place-items: center; --state: paused; }
#mplayer { position: absolute; left: 480px; bottom: 80px; text-align: center; color:AliceBlue; }
#mplayer p { margin: 0; padding: 0; cursor: pointer; }
#mprog { width: 280px; accent-color: GoldEnrod; outline: none; cursor: pointer; }
#btnplay { width: 75px; animation: rotating 6s infinite linear var(--state); }
#lrc { --motion: cover2; --tt: 1s; --bg: linear-gradient(180deg,hsla(80,50%,20%,.20),hsla(80,50%,20%,.35)); position: absolute; left: 39%; bottom: 37px;font:normal 1.6em Microsoft YaHei; sans-serif; color:MintCream; 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); }
#vid { position: absolute; width: 472px; height: 362px; left: 55px;top:54px; object-fit: cover; aspect-ratio: 1; border-radius: 50%; cursor: pointer; mix-blend-mode: opacity: .9 }
.ipic { position: absolute; ; width: 100px; height: 100px;left: 820px;top:340px;mix-blend-mode: multiply; animation: rotating 6s infinite var(--state); }
.ipic1 { position: absolute; width: 100px; height: 100px;left: 540px;top:120px; 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="ipic1" alt="" src="https://pic.imgdb.cn/item/6723214fd29ded1a8cfe28f1.png" />
<img class="ipic" alt="" src="https://pic.imgdb.cn/item/6723214fd29ded1a8cfe28f1.png" />
<audio src="https://www.joy127.com/url/118479.mp3" autoplay loop></audio>
<video id="vid" src="https://img-baofun.zhhainiao.com/pcwallpaper_ugc/preview/42aec9709b86f0ab1d543bbcfb31d888_preview.mp4" loop muted oncontextmenu="return false"></video>
<div id="mplayer">
<p><img id="btnplay" src="https://xlaj.cn/upfile/202411/14/2.png" title="播放/暂停" alt="" /></p>
<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>
</p>
</div>
<div id="lrc" data-lrc="HuaChao">HuaChao </div>
</div>
<script>
const geci = [
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
];
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);
vid.onclick = (e) => aud.paused ? aud.play() : aud.pause();
</script>
问好醉美管理员,仿佛视听盛宴,谢谢分享:)
页:
[1]