本帖最后由 加林森 于 2022-4-22 22:20 编辑 <br /><br />红影 发表于 2021-8-22 14:19
还能带来美的享受
{:4_208:}
<style>
.fan {
--ss: 30px;
left: 0px; top: 0px;
width: var(--ss);
height: var(--ss);
background: linear-gradient(transparent 46%,green 47%, transparent 54%),
linear-gradient(90deg,transparent 46%,green 47%, transparent 54%);
border: calc(var(--ss) / 10) solid darkgreen;
border-radius: 50%;
position: relative;
cursor: pointer;
animation: rot .2s linear infinite;
}
@keyframes rot { to { transform: rotate(1turn); } }
</style>
<style>
.spiBox {
top:120px;left:-302px;
position: relative;
width: 1024px;
height: 600px;
background: #FFF url('https://pic.imgdb.cn/item/6262b342239250f7c54885df.jpg') no-repeat center/cover;
box-shadow: 4px 4px 5px #888;
border-radius:12px;
}
</style>
<div class="fan"></div>
<style>
<script>
let flag = true;
let fan = document.querySelector(".fan");
let au = document.createElement("audio");
au.src = "http://www.kumeiwp.com/sub/filestores/2022/04/20/ff94e290dfc32d9912db27a07912dd94.mp3";
au.autoplay = flag;
au.loop = true;
fan.appendChild(au);
if(!flag) fan.style.animationPlayState = "paused";
fan.onclick = function(){
flag ? (this.style.animationPlayState = "paused",au.pause(),flag = false) :
(this.style.animationPlayState = "running",au.play(),flag = true);
}
</script>
加林森 发表于 2021-8-22 13:16
你白天干啥去了?怎么半夜三经才回家?干什么坏事去了?
说:不说告诉你夫人去,然后就没有然 ...
有人过生吃了然后又去吼一来二去就晚了
至于夫人-----我能说我是光棍不{:4_170:}