父亲 (歌手:刘和刚) 祝父亲节快乐!
<style>
#papa { left: -280px; width: 1431px; height: 726px; top:150px;background:url('https://xlaj.cn/assets/file/zp/20230618133240.jpg')0 0/100% 100%;display: grid;center/cover; box-shadow: 3px 3px 20px #000; position: relative; display: grid; place-items: center; user-select: none; overflow: hidden; z-index: 1; --opt: .25; }
#btnplay {position: absolute;
width: 1431px;
height: 726px;
left: 0px;
bottom: 0px;
-border: 2px solid #000000;
background: url('https://365.tf/disk/img/sx.png')0 0/100% 100%;
mask: radial-gradient(transparent 7px,#red 0);
-webkit-mask: radial-gradient(transparent 7px,red 0);
-border-radius: 50%;
cursor: pointer;
-animation: rot 4s linear infinite;
-z-index: 20;
-transform: rotateX(45deg) rotateY(20deg) rotate(0deg);}
#lrc { --motion: cover1; --tt: 1s; --state: paused; position: absolute; top: 80px;left: 200px;color: #000080; font-family: 汉仪雪峰体简;
font-size: 40px;-webkit-background-clip: text; filter: drop-shadow(#ffffff 2px 0 0)drop-shadow(#ffffff 0 2px 0)drop-shadow(#ffffff -2px 0 0) drop-shadow(#ffffff 0 -2px0); }
#lrc::before { position: absolute; content: attr(data-lrc); width: 20%; height: 100%; color: transparent; overflow: hidden; white-space: nowrap;background: repeating-linear-gradient(275deg, #fec108 0%,#6003fa 100%);-webkit-background-clip: text; animation: var(--motion) var(--tt) linear forwards; animation-play-state: var(--state); }
@keyframes cover1 { from { width: 0; } to { width: 100%; } }
@keyframes cover2 { from { width: 0; } to { width: 100%; } }
#tx { position: absolute;
top: 0px;
left: 0px;
width: 200px;
height: 700px;
animation: tx 0.25s linear infinite;
cursor: pointer;
opacity: 1; }
@keyframes tx {
to {filter:hue-rotate(360deg)contrast(100%)brightness(150%);}
}
</style>
<style>
.img_border{display:inline-block;width:1400px;height:750px;margin:0px ;position: absolute;}
.img_border #aplay{border:1px solid #000000;border-radius:0%; }
.z360z{animation: rotating 0s linear infinite;background:url('https://xlaj.cn/assets/file/zp/20230618133154.gif ')0 0/100%100%;}@keyframes rotating{from {filter:hue-rotate(0deg)contrast(120%)brightness(110%);}to {filter:hue-rotate(60deg)contrast(110%)brightness(100%);}}
</style>
<div id="papa"><div id="tx">
<div class="img_border" id="aplay" style="width: 1431px; height: 726px;position: absolute;">
<img id="tupian" style="width: 100%; height: 100%;background: url()0 0/100% 100%"></div></div>
<span id="btnplay" style="animation-play-state: running;"></span>
<span id="lrc" data-lrc="父亲" style="--state:running; --motion:cover1; --tt:9.1s;">父亲</span>
</div>
<audio id="aud" src="https://xlaj.cn/assets/file/zp/20230618133317.mp3" autoplay="autoplay"></audio>
<script>
(function() {
let mKey = 0, mFlag = true, slip = 0.0;
let lrcAr = [
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
];
aud.loop = false;
btnplay.onclick = () => aud.paused ? aud.play() : aud.pause();
aud.addEventListener('pause', () => mState());
aud.addEventListener('play', () => mState());
aud.addEventListener('ended', () => { mKey = 0; aud.play(); });
aud.addEventListener('timeupdate', () => {
for (j = 0; j < lrcAr.length; j++) {
if (aud.currentTime - slip >= lrcAr) {
if (mKey === j) showLrc(lrcAr);
else continue;
}
}
});
let mState = () => aud.paused ? (btnplay.style.animationPlayState = 'paused', lrc.style.setProperty('--state', 'paused')) : (btnplay.style.animationPlayState = 'running',
lrc.style.setProperty('--state', 'running'));
let showLrc = (time) => {
let name = mFlag ? 'cover1' : 'cover2';
lrc.innerHTML = lrc.dataset.lrc = lrcAr;
lrc.style.setProperty('--motion', name);
lrc.style.setProperty('--tt', time + 's');
lrc.style.setProperty('--state', 'running');
mKey += 1;
mFlag = !mFlag;
};
})();
</script>
<script type="text/javascript">
var my_audio =document.getElementById("aud");my_audio.onended = function(){document.getElementById("aplay").className="";};my_audio.onplaying = function(){document.getElementById("aplay").className="z360z";};my_audio.onpause = function(){document.getElementById("aplay").className="";};var lyric = parseLyric(songkrc); </script>
<br></div><br><br><br><br><br><br><br><br><br> 手机欣赏 点击背景 频谱
电脑欣赏点击界面音乐和频谱停止,再点击打开 祝论坛的父亲们节日快乐! 宁静 发表于 2023-6-18 15:31
电脑欣赏点击界面音乐和频谱停止,再点击打开
我试试看
沉默 发表于 2023-6-18 15:37
我试试看
父亲节快乐{:10_402:}
宁静 发表于 2023-6-18 15:37
父亲节快乐
测试了,完美{:9022:}
沉默 发表于 2023-6-18 15:38
测试了,完美
谢谢。。。。测试好的我就下了
宁静 发表于 2023-6-18 15:38
谢谢。。。。测试好的我就下了
这么早就下?
宁静 发表于 2023-6-18 15:38
谢谢。。。。测试好的我就下了
不客气。我看看再下