代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<style>
body{
margin: 0;
padding: 0;
background: #607d8d;
}
.box{
position: absolute;
top: calc(50% - 100px);
left: calc(50% - 135px);
height: 200px;
transform-style: preserve-3d;
transform: perspective(1000px) rotateY(45deg);
}
.box div{
position: absolute;
top: 0;
left: 0;
height: 100%;
display: flex;
transform-style: preserve-3d;
}
.box div span{
position: relative;
display: block;
width: 50px;
height: 100%;
background: linear-gradient(#e8e8e8,#a7a7a7,#e8e8e8);
animation: animate 2.8s linear infinite;
}
.box div span::before{
content: '';
position: absolute;
display: block;
width: 100%;
height: 100%;
background: #000;
transform-style: preserve-3d;
transform: translateX(-25px) scaleY(0.5);
}
.box div span:nth-child(1){
animation-delay: 0s;
}
.box div span:nth-child(2){
animation-delay: 0.2s;
}
.box div span:nth-child(3){
animation-delay: 0.4s;
}
.box div span:nth-child(4){
animation-delay: 0.6s;
}
.box div span:nth-child(5){
animation-delay: 0.8s;
}
.box div span:nth-child(6){
animation-delay: 1s;
}
.box div span:nth-child(7){
animation-delay: 1.2s;
}
.box div span:nth-child(8){
animation-delay: 1.4s;
}
.box div span:nth-child(9){
animation-delay: 1.6s;
}
@keyframes animate {
0%{
transform: rotateX(0deg);
}
100%{
transform: rotateX(360deg);
}
}
</style>
<body>
<div class="box">
<div>
<span> </span>
<span> </span>
<span> </span>
<span> </span>
<span> </span>
<span> </span>
<span> </span>
<span> </span>
<span> </span>
</div>
</div>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。