亚伦影音工作室 发表于 2024-1-24 21:08

万劫不复爱上你-安儿陈

本帖最后由 亚伦影音工作室 于 2024-1-24 21:31 编辑 <br /><br /><style type="text/css">#papa {
      margin: 150px-150px;
      width: 1164px;
      height: 620px;
      background:url(https://img-baofun.zhhainiao.com/pcwallpaper_ugc/static/e34ba37e18b32c2e937631e7d06bcec5.jpg)no-repeat center/cover;
      box-shadow: 0px 0px 0px 2px #cccccc, 0px 0px 0px 8px #880000; position: relative; overflow: hidden;
      display: grid;
      place-items: center;
      }

#photos img{float:right;width:1164px;height:640px;position:relative;z-index: 1;}
#photos {position: absolute;width: calc(1164px * 10);animation: animate 60s ease-out infinite alternate;}
@keyframes animate {0%{right:-10476px;}100% {right:0px; }}
#view{perspective: 1500px;position:absolute;margin: 140px 250px;perspective-origin: 300px 150px;z-index: 2;}

@keyframes scroll{
    0% {
      transform: translateZ(-10em) rotateX(0deg) rotateY(0deg);
    }
    33% {
      transform: translateZ(-10em) rotateX(120deg) rotateY(240deg);
    }
    66% {
      transform: translateZ(-10em) rotateX(240deg) rotateY(480deg);
    }
    100% {
      transform: translateZ(-10em) rotateX(360deg) rotateY(720deg);
    }
}
#cube{
width:250px;
height:250px;
position: relative;
animation: scroll 6s linear 6s infinite;
transform-style: preserve-3d;}
        .item{
                width: 100%;
                height:100%;
                Border:1px solid #ffffff;
                opacity: 1;

                position:absolute;
        }
        @keyframes item1 {
                100%{transform: rotateY(-90deg);}
        }
        @keyframes item2 {
                100%{transform: rotateY(90deg);}
        }
        @keyframes item3 {
                100%{transform: rotateX(90deg);}
        }
        @keyframes item4 {
                100%{transform: rotateX(-90deg);}
        }
        @keyframes item5 {
                100%{transform: translateZ(252PX);}
        }
        @keyframes item6 {
                100%{transform: rotateY(360deg);}
        }
    #item1{z-index: 6; transform-origin: left; animation: item1 1s linear 0s both;background: url('https://pic.imgdb.cn/item/64fd5599661c6c8e5429c0e2.jpg')no-repeat center/cover;}
        #item2{z-index: 5; transform-origin: right; animation: item2 1s linear 1s both;background: url('https://pic.imgdb.cn/item/64fd5599661c6c8e5429c0e2.jpg')no-repeat center/cover;}
        #item3{z-index: 4; transform-origin: top; animation: item3 1s linear 2s both;background: url('https://pic.imgdb.cn/item/64fd5599661c6c8e5429c0e2.jpg')no-repeat center/cover;}
        #item4{z-index: 3; transform-origin: bottom; animation: item4 1s linear 3s both;background: url('https://pic.imgdb.cn/item/64fd5599661c6c8e5429c0e2.jpg')no-repeat center/cover;}
        #item5{z-index: 2; transform-origin: center; animation: item5 1s linear 4s both;background: url('https://pic.imgdb.cn/item/64fd5599661c6c8e5429c0e2.jpg')no-repeat center/cover;}
        #item6{z-index: 1; transform-origin: center; animation: item6 1s linear 5s both;background: url('https://pic.imgdb.cn/item/64fd5599661c6c8e5429c0e2.jpg')no-repeat center/cover;}
.stop #item1,
.stop #item2,
.stop #item3,
.stop #item4,
.stop #item5,
.stop #item6{animation-play-state: paused;}
#bfq{bottom: -12px; left:0%;z-index: 6;
position: absolute;
width:100%;
cursor: pointer;
mix-blend-mode: lighten;filter:invert(100%)
}
</style>
<div id="papa">

<div id="photos" title="亚伦影音">
<img alt="" src="https://img-baofun.zhhainiao.com/pcwallpaper_ugc/static/e34ba37e18b32c2e937631e7d06bcec5.jpg" style="transform: rotateY(0deg);" />
<img alt="" src="https://img-baofun.zhhainiao.com/pcwallpaper_ugc/static/e34ba37e18b32c2e937631e7d06bcec5.jpg" style="transform: rotateY(180deg);" />
<img alt="" src="https://img-baofun.zhhainiao.com/pcwallpaper_ugc/static/e34ba37e18b32c2e937631e7d06bcec5.jpg" style="transform: rotateY(0deg);" />
<img alt="" src="https://img-baofun.zhhainiao.com/pcwallpaper_ugc/static/e34ba37e18b32c2e937631e7d06bcec5.jpg" style="transform: rotateY(180deg);" />
<img alt="" src="https://img-baofun.zhhainiao.com/pcwallpaper_ugc/static/e34ba37e18b32c2e937631e7d06bcec5.jpg" style="transform: rotateY(0deg);" />
<img alt="" src="https://img-baofun.zhhainiao.com/pcwallpaper_ugc/static/e34ba37e18b32c2e937631e7d06bcec5.jpg" style="transform: rotateY(180deg);" />
<img alt="" src="https://img-baofun.zhhainiao.com/pcwallpaper_ugc/static/e34ba37e18b32c2e937631e7d06bcec5.jpg" style="transform: rotateY(0deg);" />
<img alt="" src="https://img-baofun.zhhainiao.com/pcwallpaper_ugc/static/e34ba37e18b32c2e937631e7d06bcec5.jpg" style="transform: rotateY(180deg);" />
<img alt="" src="https://img-baofun.zhhainiao.com/pcwallpaper_ugc/static/e34ba37e18b32c2e937631e7d06bcec5.jpg" style="transform: rotateY(0deg);" />
<img alt="" src="https://img-baofun.zhhainiao.com/pcwallpaper_ugc/static/e34ba37e18b32c2e937631e7d06bcec5.jpg" style="transform: rotateY(180deg);" />
</div>
<div id="view">
<div id="testImg"><div id="cube">
<div class="item" id="item1"></div>

<div class="item" id="item2"></div>

<div class="item" id="item3"></div>

<div class="item" id="item4"></div>

<div class="item" id="item5"></div>

<div class="item" id="item6"></div>
</div>
</div></div>
<div id="bfq"><audio autoplay="" id="aud" loop="" controls="controls" style="width:100%;"src="https://www.qqmc.com/mp3/music335309657.mp3" >&nbsp;</audio></div>
</div>
<script>
(function(){
var image = document.getElementById("testImg");
let mState = () => aud.paused ? (image.classList.add('stop')):(image.classList.remove('stop'));
aud.addEventListener('play', () => mState());
aud.addEventListener('pause', () => mState());
})();
cube.style.animationPlayState = aud.paused ? 'paused' : 'running';
aud.addEventListener('playing', () =>cube.style.animationPlayState = 'running');
aud.addEventListener('pause', () =>cube.style.animationPlayState = 'paused');


photos.style.animationPlayState = aud.paused ? 'paused' : 'running';
aud.addEventListener('playing', () =>photos.style.animationPlayState = 'running');
aud.addEventListener('pause', () =>photos.style.animationPlayState = 'paused');
</script>

liumang 发表于 2024-1-25 13:40

欣赏亚伦老师的精美新制作

liumang 发表于 2024-1-25 13:41

{:5_150:}{:5_150:}{:5_150:}
页: [1]
查看完整版本: 万劫不复爱上你-安儿陈