端午节!
本帖最后由 撒哈拉的雨 于 2023-6-23 21:22 编辑 <br /><br /><style>#mydiv {
margin: 150px 0 0 calc(50% - 720px);
width: 1280px;
height: 750px;
background: #000 url('https://pan.doliy.cn/filestores/2023/06/23//e57c2d64d3c91d118caa7f46090d6d76.jpg') no-repeat center/cover;
box-shadow: 0 0 8px gray;
position: relative;
}
</style>
<div id="mydiv">
<css-doodle id="mplayer">
:doodle {
@grid: 8 / 550px;
background: url('https://pan.doliy.cn/filestores/2023/06/23//a011c993b9d5be3537db0a07512a412c.png') no-repeat 0px 50px / 265px 371px;
cursor: pointer;
position: absolute;
left: 550px;
top: 80px;
--state: running;
}
:doodle(:hover) { transform: skew(2deg); }
position: absolute;
@place-cell: 250px 35%;
:after {
content: @p(端,,午,);
color: @p(red,pink,orange,green,blue,white);
}
animation: fly 1s @r(-2,2)s infinite var(--state);
@keyframes fly {
from { transform: rotate(0deg) translate(0px); }
to { transform: rotate(@r(-60,60)deg) translate(110px); }
}
</css-doodle>
<audio id="aud" src="https://pan.doliy.cn/filestores/2023/06/23//6635edd83f73058e88d92e2154172084.mp3" autoplay="autoplay" loop="loop"></audio>
</div>
<script>
(function() {
let scriptEle = document.createElement('script');
scriptEle.setAttribute('type','text/javascript');
scriptEle.setAttribute('src','https://wj.zp68.com/lxx/yunhua/2022/12/06/css-doodle.min.js');
document.head.appendChild(scriptEle);
let mState = () => mplayer.style.setProperty('--state', aud.paused ? 'paused' : 'running');
aud.addEventListener('play', mState, false);
aud.addEventListener('pause', mState, false);
mplayer.onclick = () => aud.paused ? aud.play() : aud.pause();
})();
</script>
<br><br><br><br><br> 祝福大家端午节安康! 一首儿歌{:9007:} 欣赏音画,端午安康 端午安康,好漂亮的画面! 端午安康!这里过节平平淡淡的,除了放假,没节日的气息{:10_414:} 撒哈拉的雨 发表于 2023-6-23 15:42
祝福大家端午节安康!
好童趣的,小喇叭开始广播拉{:9007:}
撒哈拉的雨 发表于 2023-6-23 15:43
一首儿歌
很好听的{:9022:}
大哥好~~端午吃粽子没有 端午节最开心还是小长假吧
页:
[1]
2