加林森 发表于 2022-5-24 12:13

《见龙卸甲 世间无限丹青手》


<style>
.stage{
      margin: auto;
      position: relative;
      left: -302px;
      width: 1200px;
      height: 726px;
      background:#666 url('https://pic.imgdb.cn/item/628c59b809475431294576c2.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: 60px;
               left: 84px;
      transform-style: preserve-3d;
      animation: rot 5s linear infinite;
}
.circle div {
      position: absolute;
      width: 100%;
      height: 100%;
      border: 1px solid Crimson;
      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://www.joy127.com/url/77210.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-24 12:16

用色很优秀

加林森 发表于 2022-5-24 12:21

马黑黑 发表于 2022-5-24 12:16
用色很优秀

嗯嗯,我是根据图片颜色来制作的。

马黑黑 发表于 2022-5-24 12:22

加林森 发表于 2022-5-24 12:21
嗯嗯,我是根据图片颜色来制作的。

挺好的

红影 发表于 2022-5-24 12:47

这个烟雾动画在这个帖子里非常漂亮。文字也加得非常漂亮,队长的这个帖子好{:4_187:}

加林森 发表于 2022-5-24 12:51

谢谢红影!中午好!

加林森 发表于 2022-5-24 12:52

马黑黑 发表于 2022-5-24 12:22
挺好的

嗯嗯。

冬天的雨 发表于 2022-5-24 20:16

音乐好听,图片好看 队长真棒!{:4_178:}

加林森 发表于 2022-5-24 20:26

冬天的雨 发表于 2022-5-24 20:16
音乐好听,图片好看 队长真棒!

冬雨来啦,晚上好!谢谢支持!
页: [1]
查看完整版本: 《见龙卸甲 世间无限丹青手》