加林森 发表于 2021-12-4 16:16
就是,每天跳30分钟就够了。人多条起来更加好看。
可以锻炼身体,还能有美的享受{:4_173:}
本帖最后由 加林森 于 2022-2-12 10:46 编辑 <br /><br />红影 发表于 2021-12-4 19:43
可以锻炼身体,还能有美的享受
就是就是,肯定是一道风景线啊。
<style type="text/css">
.paBox { /* 父框 */
margin: 10px auto;
width: 1024px;
height: 640px;
position: relative;
background: #000 url('https://pic.imgdb.cn/item/620717c82ab3f51d9123af57.jpg') no-repeat;
left: -240px;
top: 150px
}
/* 父框和 .soBox 的伪元素共同样式 */
//.paBox::before, .paBox::after, .soBox::before, .soBox::after {
//content: "";
//position: absolute;
//width: 300px; height: 2px;
//background: BlueViolet;
//left: 550px; top: 120px;
//opacity: 0.1;
//transform-origin: center center;
}
/* 父框和 .soBox 的伪元素各自的动画样式 */
.paBox::before { animation: fly 2s linear infinite alternate;}
.paBox::after { height: 4px; animation: fly 5s linear infinite;}
.soBox::before { animation: fly 3s linear infinite;}
.soBox::after { height: 5px; animation: fly 1s linear infinite alternate;}
@keyframes fly { 100% { transform: rotate(360deg); } }
/*旋转按钮*/
.roBox74 {
margin: 10px;
position: relative;
width: 74px; height: 74px;
line-height: 74px; font-size: 14px;
background: linear-gradient(Red,Pink,Indigo);
outline:none;
color: Indigo;
border-radius: 50%;
text-align: center;
box-shadow: 0px 0px 0px 2px rgba(0,0,0,0.45);
cursor: pointer;
animation: rol linear 2s infinite;
}
.roBox74:hover { opacity: 0.8; }
.roBox74:active { opacity: 1; }
@keyframes rol { to { transform:rotate(360deg); } }
</style>
<div class="paBox">
<div class="soBox"></div>
<p style="position: absolute; left:750px; top:500px; color: #ae0101;"><marqueescrollamount="4" direction="left" ><b><font face="微软雅黑" size="3">帖赠小辣椒【古城新韵】</font></marquee></p>
<!-- 按钮 -->
<div id="roBox" class="roBox74" style="left:74.8%;top:55.9%;">●</div>
</div>
<audio id="ymusic" src="https://www.joy127.com/url/88624.mp3" autoplay="autoplay" loop="loop"></audio>
<script language="javascript">
var mu = document.getElementById('ymusic');
var roBtn = document.getElementById('roBox');
mu.autoplay ? roBtn.style.animationPlayState="running" : roBtn.style.animationPlayState="paused";
mu.addEventListener("ended", function(){ roBtn.style.animationPlayState="paused"; })
roBtn.onclick = function(){ mu.paused ? (mu.play(), roBtn.style.animationPlayState="running") : (mu.pause(), roBtn.style.animationPlayState="paused"); }
</script>
<br><br><br><br><br><br><br><br><br><br><br>
加林森 发表于 2021-12-4 19:56
就是就是,肯定是一道风景线啊。
那队长赶紧动员大家学习{:4_173:}
红影 发表于 2021-12-4 20:29
那队长赶紧动员大家学习
我这里动不了啊,要大家都参加才行啊。