11 Star 16 Fork 1

锅巴汉化 / game

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
style.scss 2.66 KB
一键复制 编辑 原始数据 按行查看 历史
zhaolinxu 提交于 2022-04-27 15:49 . gx
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)
}
}
HTML
1
https://gitee.com/likexia/game.git
git@gitee.com:likexia/game.git
likexia
game
game
国内617

搜索帮助