加林森 发表于 2021-11-23 23:12

本帖最后由 加林森 于 2022-2-13 18:24 编辑 <br /><br />红影 发表于 2021-11-23 22:13
好听的老歌,越挺越有味,好帖
影儿喜欢就好。{:4_171:}

<style type="text/css">
.paBox { /* 父框 */
      margin: 10px auto;
      width: 1024px;
      height: 585px;
      position: relative;
      background: #000 url('https://pic.imgdb.cn/item/6208d8512ab3f51d919ce523.jpg') no-repeat;
      left: -213px;
      top: 150px
}

/* 父框和 .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); } }
/*旋转按钮*/
.roBox50 {
      margin: 10px;
      position: relative;
      width: 50px; height: 50px;
      line-height: 50px; font-size: 14px;
      background: linear-gradient(Blue,Pink,Teal);
      outline:none;
      color: Indigo;
      border-radius: 50%;
      text-align: center;
      box-shadow: 0px 0px 0px 2px rgba(0,0,0,0.25);
      cursor: pointer;
      animation: rol linear 2s infinite;
}
.roBox50:hover { opacity: 0.8; }
.roBox50:active { opacity: 1; }
@keyframes rol { to { transform:rotate(360deg); } }
</style>

<div class="paBox">
      <div class="soBox"></div>
      <p style="position: absolute; left:50px; top:200px; color: #b6d8d8;"><marqueescrollamount="3" direction="left" ><b><font face="微软雅黑" size="4">一首故里逢春-阿YueYue演唱 送给大家!【加林森编制】</font></marquee></p>
      <!-- 按钮 -->
      <div id="roBox" class="roBox50" style="left:5%;top:7%;">●</div>
</div>

<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="//music.163.com/outchain/player?type=2&id=1457113272&auto=1&height=66"></iframe>

<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><br><br><br>

大猫咪 发表于 2021-11-24 13:18

一直喜欢的经典!队长制作很棒,经典咏流传!

辣椒收礼物开心!

{:4_204:}{:4_199:}

加林森 发表于 2021-11-24 13:46

大猫咪 发表于 2021-11-24 13:18
一直喜欢的经典!队长制作很棒,经典咏流传!

辣椒收礼物开心!

谢谢猫猫。{:4_179:}
页: 1 2 [3]
查看完整版本: 《万水千山总是情》 汪明荃 TO:小辣椒