加林森 发表于 2022-5-30 11:56

【童心飞扬】《花儿与少年》


<style>
.stage{
      margin: auto;
      position: relative;
      left: -214px;
      width: 1024px;
      height: 768px;
      background:#666 url('https://pic.imgdb.cn/item/62943bb109475431297d3763.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 #ff8c31;
      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 = 'https://music.163.com/song/media/outer/url?id=28497630.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>

转转 发表于 2022-5-30 12:04

队长的图图里大家都特别特别萌{:4_196:}

加林森 发表于 2022-5-30 12:07

转转 发表于 2022-5-30 12:04
队长的图图里大家都特别特别萌

好玩哈。挺可爱的。{:4_189:}

梦油 发表于 2022-5-30 14:24

老儿童。大儿童。祝贺小儿童节日快乐!

来看你 发表于 2022-5-30 15:02

童心永驻,六一快乐 {:4_177:}

加林森 发表于 2022-5-30 16:17

梦油 发表于 2022-5-30 14:24
老儿童。大儿童。祝贺小儿童节日快乐!

大家快乐!

加林森 发表于 2022-5-30 16:18

来看你 发表于 2022-5-30 15:02
童心永驻,六一快乐

就是,我们又回到了童年了。{:4_177:}

梦油 发表于 2022-5-30 17:19

加林森 发表于 2022-5-30 16:17
大家快乐!

我们老儿童也蹭个快乐。{:4_170:}

加林森 发表于 2022-5-30 17:21

梦油 发表于 2022-5-30 17:19
我们老儿童也蹭个快乐。

是啊是啊{:4_177:}
页: [1]
查看完整版本: 【童心飞扬】《花儿与少年》