《端午祭念屈原 (Demo)》- 忘言Speech
<style>
.stage{
margin: auto;
position: relative;
left: -214px;
width: 1024px;
height: 600px;
background:#666 url('https://pic.imgdb.cn/item/629588220947543129f235c3.jpg');
perspective: 3000px;
perspective-origin: 50% 50%;
cursor: pointer;
}
.stage::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
background: url('https://638183.freep.cn/638183/Pic/2022/smoke1.gif') no-repeat center/cover;
opacity: .1;
}
.circle {
--x: 80px;
position: absolute;
width: var(--x);
height: var(--x);
right: 20px;
top: 80px;
left: 84px;
transform-style: preserve-3d;
animation: rot 5s linear infinite;
}
.circle div {
position: absolute;
width: 100%;
height: 100%;
border: 1px solid #50616d;
border-radius: 50%;
padding: 0;
}
.circle div:nth-child(1){ transform:rotateY(0deg);}
.circle div:nth-child(2){ transform:rotateY(30deg);}
.circle div:nth-child(3){ transform:rotateY(60deg);}
.circle div:nth-child(4){ transform:rotateY(90deg);}
.circle div:nth-child(5){ transform:rotateY(120deg);}
.circle div:nth-child(6){ transform:rotateY(150deg);}
@keyframes rot{
0%{ transform: rotateZ(30deg) rotateY(0turn);}
100%{ transform: rotateZ(30deg) rotateY(1turn);}
}
</style>
<div class="stage">
<div class="circle">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
<script>
var au = document.createElement('audio');
au.src = 'http://www.kumeiwp.com/sub/filestores/2022/05/28/942ee0e26df90d266e780ac73dbfee2c.mp3';
au.loop = true;
au.autoplay = true;
document.querySelector('.stage').appendChild(au);
document.querySelector('.circle').onclick = function() {
au.paused ? (au.play(), this.style.animationPlayState = 'running') : (au.pause(), this.style.animationPlayState = 'paused');
}
</script>
图片和文字制作很漂亮,欣赏队长好帖{:4_187:} 红影 发表于 2022-5-31 13:06
图片和文字制作很漂亮,欣赏队长好帖
谢谢。端午节快乐! 图、音俱佳,大赞一个! 梦油 发表于 2022-5-31 15:40
图、音俱佳,大赞一个!
谢谢老梦!端午节快乐! 加林森 发表于 2022-5-31 16:16
谢谢老梦!端午节快乐!
不客气。 梦油 发表于 2022-5-31 16:19
不客气。
嗯嗯。 欣赏了 马黑黑 发表于 2022-5-31 18:20
欣赏了
谢谢! 加林森 发表于 2022-5-31 13:10
谢谢。端午节快乐!
借队长好帖同祝大家节日快乐{:4_187:} 红影 发表于 2022-5-31 21:10
借队长好帖同祝大家节日快乐
谢谢红影!让我们共同祝福大家端午节快乐!
页:
[1]