代码拉取完成,页面将自动刷新
body {
background: #333333;
padding: 0;
margin: 0;
position: relative;
height: 100vh;
overflow: hidden;
}
h2 {
position: absolute;
top: 50%;
left: 50%;
text-align: center;
color: #000;
width: 400px;
margin: 120px 0 0 -200px;
font-size: 35px;
}
.logo {
position: absolute;
width: 200px;
top: 50%;
left: 50%;
margin: -150px 0 0 -100px;
margin-top: -100px;
-webkit-animation: bounce 1s .2s infinite alternate;
-moz-animation: bounce 1s .2s infinite alternate;
img {
position: absolute;
left: 0;
top: 0;
width: 100%;
&.img1 {}
&.img2 {
opacity: 0;
animation: glass 1s 0s linear both;
}
&.img3 {
opacity: 0;
animation: smoke 1.2s 0s linear both;
}
&.img4 {
opacity: 0;
animation: neck 1.5s 0s linear both;
}
&.shine {
z-index: -1;
width: 400px;
margin: -100px 0 0 -100px;
opacity: 0.5;
animation: zhuan 5s 0s infinite linear;
}
}
}
@-webkit-keyframes zhuan {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes zhuan {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@-webkit-keyframes neck {
0% {
opacity: 0;
top: 30px;
}
100% {
opacity: 1;
top: 0;
}
}
@keyframes neck {
0% {
opacity: 0;
top: 30px;
}
100% {
opacity: 1;
top: 0;
}
}
@-webkit-keyframes smoke {
0% {
opacity: 0;
top: 20px;
}
100% {
opacity: 1;
top: 0;
}
}
@keyframes smoke {
0% {
opacity: 0;
top: 20px;
left: 20px;
}
100% {
opacity: 1;
top: 0;
left: 0px;
}
}
@-webkit-keyframes glass {
0% {
opacity: 0;
top: -20px;
}
100% {
opacity: 1;
top: 0;
}
}
@keyframes glass {
0% {
opacity: 0;
top: -20px;
}
100% {
opacity: 1;
top: 0;
}
}
@-webkit-keyframes bounce {
0% {
-webkit-transform: translateY(0)
}
100% {
-webkit-transform: translateY(-10px)
}
}
@-moz-keyframes bounce {
0% {
-moz-transform: translateY(0)
}
100% {
-moz-transform: translateY(-10px)
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。