加林森 发表于 2022-4-23 11:23

《天仙配》-- 中国中央交响乐团(纯音乐)

本帖最后由 加林森 于 2022-4-23 12:02 编辑 <br /><br /><style>
.spiBox {
   top:120px;left:-302px;
   position: relative;
   width: 1200px;
   height: 675px;
   background: #FFF url('https://pic.imgdb.cn/item/62634aa7239250f7c536977c.jpg') no-repeat center/cover;
   box-shadow: 4px 4px 5px #888;
   border-radius:12px;
}
.ball { /* 球体 */
      left:200px;top: 180px; width: 60px; height: 60px;
      background: Blue linear-gradient(135deg,rgba(65,105,225,.85),rgba(100,149,237,.95));
      position: absolute; border-radius: 50%;
      filter: drop-shadow(2px 2px 6px rgba(0,0,0,.7));
      transform: skew(2deg); cursor: pointer;
}
.ball::before { content: ''; position: absolute; } /* 伪元素:修饰 */
.ball::before { /* 伪元素一:高亮 */
      left: 0; top: 0; width: 100%; height: 100%; border-radius: 50%;
      background: radial-gradient(circle at 35% 40%,rgba(255,255,255,.75),rgba(0,0,0,.15));
}

.ball div { /* 子元素共2个:动画 */
      position: absolute; border: 8px solid rgba(0,0,0,.45); border-radius: 50%;
      border-color: #4682B4 #6495ED #4682B4 #6495ED;opacity: .55;
}
.ball div:nth-child(1) { left: -8px; top: -8px; right: -8px; bottom: -8px; animation: rot 4s linear infinite;}
.ball div:nth-child(2) { left: -16px; top: -16px; right: -16px; bottom: -16px;animation: rot 12s linear infinite; }
@keyframes rot { to { transform: rotate(1turn); } } /* 动画 转圈 */
.spiBox img {
      position: absolute;
      width: 139px;
      height: 108px;
      top: 40%;
      right: 0px;
      animation: walk 42s linear infinite;
}
@keyframes walk {
      0% { transform: rotate(0deg); right: 300px;top:330px; }
      10% { transform: rotate(0deg); right: 470px;top:310px; }
      20% { transform: rotate(0deg); right: 640px;top:290px; }
      30% { transform: rotate(0deg); right: 810px;top:290px; }
      40% { transform: rotate(0deg); right: 980px;top:310px; }
      50%{ transform: rotateY(180deg); right: 1000px;top:330px; }
      60%{ transform: rotateY(180deg); right: 830px;top:350px; }
      70%{ transform: rotateY(180deg); right: 660px;top:370px; }
      80%{ transform: rotateY(180deg); right: 490px;top:370px; }
      90%{ transform: rotateY(180deg); right: 320px;top:350px; }
      100%{ transform: rotateY(360deg); right: 300px;top:330px; }
}
.xiewen {/* 斜纹文本 */
      position: absolute;left:280px;top: -10px;
      width: 660px;
      height: 200px;
      line-height: 200px;
      font-family: '微软雅黑', '宋体';
      font-size: 4.2rem;
      font-weight: 900;
      text-align: center;
      background: darkgreen linear-gradient(45deg, transparent 45%, #eee 45%, #ccc 55%, transparent 0);
      background-size: 4px 4px;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      -webkit-text-stroke: 2px #111;
      animation: wenzi 4s linear infinite alternate;
}
@keyframes wenzi { 0%{opacity: 0.8;} 100% { opacity: 0.3; } }

/* 文字走马灯 */
.txtFly {
      position: absolute;
      --w: 300px;
      width: var(--w);
      left: 450px;
      top: 566px;
      overflow: hidden;
}
.txtFly div {
       word-break: keep-all;
       white-space: nowrap;
       font: normal 22px /24px '楷体','微软雅黑';
       color:#ccff99; text-shadow: 0 0 2px #ff66ff;
       animation: fly 32s linearinfinite;
}
/* 走马灯动画 */
@keyframes fly {
                from { transform: translateX(100%); }
                to { transform: translateX(calc(-280% - var(--w))); }
      }
</style>
<div class="spiBox">
      <img src="https://pic.imgdb.cn/item/62636e78239250f7c576253f.gif" alt="" />
<div class="ball">
      <div></div>
      <div></div>
</div>
<div class="xiewen">天仙配</div>
<div class="txtFly" >
   <div>天仙配--中国中央交响乐团(纯音乐)【黄梅戏】天仙配 中国中央交响乐团 专辑:中国管弦乐纪念名盘·戏苑 语种: 纯音乐</div>
</div></div><br><br><br><br><br><br><br><br><br><br><br><br>

<script>
let flag = true;
let ball = document.querySelector(".ball");
let au = document.createElement("audio");
au.src = "http://www.kumeiwp.com/sub/filestores/2022/04/20/ff94e290dfc32d9912db27a07912dd94.mp3";
au.autoplay = flag;
au.loop= true;
au.style.display = "none"
ball.appendChild(au);
ball.onclick = function(){
      if(flag) {
                Array.from(this.children).forEach(function(item){item.style.animationPlayState = "paused"; });
                au.pause();
                flag = false;
      } else {
                Array.from(this.children).forEach(function(item){item.style.animationPlayState = "running"; });
                au.play();
                flag = true;
      }
}
</script>

红影 发表于 2022-4-23 11:42

七位漂亮的仙女,队长这是想美女了{:4_173:}

红影 发表于 2022-4-23 11:44

队长可以把原图的字抹掉的,只留条纹字多好啊。

红影 发表于 2022-4-23 11:45

还配了一直凤鸟,挺漂亮的{:4_187:}

红影 发表于 2022-4-23 11:46

这七仙女中,老七是董永的,队长看上了老几?{:4_173:}

加林森 发表于 2022-4-23 11:46

红影 发表于 2022-4-23 11:42
七位漂亮的仙女,队长这是想美女了

哈哈,想啦。{:4_189:}

加林森 发表于 2022-4-23 11:47

红影 发表于 2022-4-23 11:44
队长可以把原图的字抹掉的,只留条纹字多好啊。

字是我在图片上加的。可以去掉的。

加林森 发表于 2022-4-23 12:03

红影 发表于 2022-4-23 11:44
队长可以把原图的字抹掉的,只留条纹字多好啊。

现在改回来了。你再看看。

加林森 发表于 2022-4-23 12:04

红影 发表于 2022-4-23 11:45
还配了一直凤鸟,挺漂亮的

是啊,漂亮吧。{:4_189:}

加林森 发表于 2022-4-23 12:05

红影 发表于 2022-4-23 11:46
这七仙女中,老七是董永的,队长看上了老几?

看上了三妹了。。。。{:4_170:}

红影 发表于 2022-4-23 12:12

加林森 发表于 2022-4-23 11:47
字是我在图片上加的。可以去掉的。

嗯,没必要弄两套字。

红影 发表于 2022-4-23 12:12

加林森 发表于 2022-4-23 12:03
现在改回来了。你再看看。

看到了, 这样才更漂亮{:4_187:}

红影 发表于 2022-4-23 12:13

加林森 发表于 2022-4-23 12:05
看上了三妹了。。。。

为什么,能说说理由么{:4_196:}

加林森 发表于 2022-4-23 12:19

红影 发表于 2022-4-23 12:12
嗯,没必要弄两套字。

嗯嗯

加林森 发表于 2022-4-23 12:19

红影 发表于 2022-4-23 12:12
看到了, 这样才更漂亮

就是。现在挺漂亮的。

加林森 发表于 2022-4-23 12:20

红影 发表于 2022-4-23 12:13
为什么,能说说理由么

我夫人就是三妹嘛。。。。{:4_189:}

梦油 发表于 2022-4-23 15:11

加林森朋友下午好!图曲都好。我特别喜欢天仙配的音乐,它音色优美,韵味隽永。谢谢你,分享了。

加林森 发表于 2022-4-23 16:41

梦油 发表于 2022-4-23 15:11
加林森朋友下午好!图曲都好。我特别喜欢天仙配的音乐,它音色优美,韵味隽永。谢谢你,分享了。

梦油喜欢就好,多听听放宽心,欣赏音乐是很美好的享受。

梦油 发表于 2022-4-23 17:35

加林森 发表于 2022-4-23 16:41
梦油喜欢就好,多听听放宽心,欣赏音乐是很美好的享受。

是的,加林森朋友,谢谢你!

加林森 发表于 2022-4-23 17:35

梦油 发表于 2022-4-23 17:35
是的,加林森朋友,谢谢你!

大家分享是好事。
页: [1] 2
查看完整版本: 《天仙配》-- 中国中央交响乐团(纯音乐)