【三月/图释】长相守
</div>
</div>
</div><div class="pct"><style type="text/css">.pcb{margin-right:0}</style><div class="pcb">
<div class="t_fsz">
<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_423165">
<style>
#papa {
--state: paused;
left: calc(50% - 100px);
transform: translateX(-50%);
width: 1500px;
height: 900px;
background: teal url('http://www.bohann.net/data/attachment/forum/202402/08/173936mzycxcfdzx6c6dz3.jpg') no-repeat center/cover;
box-shadow: 8px 4px 18px hsla(0,0%,0%,.28);
display: grid;
place-items: center;
position: relative;
z-index: 1;
}
#papa::before, #papa::after {
position: absolute;
content: '';
left: -8px;
top:60px;
right: -8px;
bottom: -8px;
border: 8px solid green;
border-radius: 6px;
pointer-events: none;
clip-path: inset(90% 90% 90% 90%);
animation: clip 12s infinite linear;
animation-play-state: var(--state);
}
#papa::after {
animation-delay: -6s;
}
#mplayer {
position: absolute;
bottom: 50px;
width: 200px;
height: 200px;
background: url('http://www.bohann.net/data/attachment/forum/202402/08/173950b97e5cexpc79jce4.jpg') no-repeat center/cover;
border-radius: 100%;
cursor: pointer;
animation: spin 10s infinite linear;
animation-play-state: var(--state);
}
@keyframes spin { to { transform: rotate(-1turn); } }
@keyframes clip {
}
</style>
<div id="papa">
<div id="mplayer"></div>
<audio id="aud" src="http://music.163.com/song/media/outer/url?id=1452625319.mp3" autoplay loop></audio>
</div>
<script>
(function() {
(function(mkFS) {let setFullScreen = (user_set) => {let pa = user_set.pa;if(typeof(pa) !== 'object') return false;if(!user_set.set) user_set.set = 'color: snow; background: black; border: 2px solid snow; left: 40px; bottom: 40px;';btnMsg = document.createElement('span');btnMsg.style.cssText = `position: absolute; border-radius: 40px; padding:; cursor: pointer; z-index:998; ${user_set.set}`;btnMsg.innerText = '';btnMsg.style.display = 'none';pa.appendChild(btnMsg);let timerId, fs = false;btnMsg.onclick = () => fs ? document.exitFullscreen() : pa.requestFullscreen();pa.addEventListener('mousemove', (e) => {clearTimeout(timerId);btnMsg.style.display = 'block';timerId = setTimeout('btnMsg.style.display = "none"', 3000);});document.addEventListener('fullscreenchange', () => {if (document.fullscreenElement !== null) {fs = true;btnMsg.innerText = '';} else {fs = false;btnMsg.innerText = '';}});};mkFS.FS = setFullScreen;})(this);
let mState = () => papa.style.setProperty('--state', aud.paused ? 'paused' : 'running');
aud.addEventListener('pause', () => mState());
aud.addEventListener('play', () => mState());
mplayer.addEventListener('click', () => {
aud.paused ? aud.play() : aud.pause();
});
FS({
pa: papa,
set: 'color: green; background: transparent; border: 2px solid green; bottom: 6px;',
});
})();
</script>
</td></tr></table>
与“月舞”的朋友们,长相守,共欢乐! 祝友友们新年快乐,万事如意! 辛苦了风帅,欣赏佳作,谢谢分享好听的音乐{:2_126:} 祝风帅新春快乐!龙年大吉大利!也祝朋友们春节阖家欢乐,健康幸福!{:2_124:}{:2_124:}
页:
[1]