打开主菜单
首页
随机
登录
设置
关于Stardew Valley Wiki
免责声明
Stardew Valley Wiki
搜索
Chinanjzyq
于2023年10月8日 (星期日)加入
←上一编辑
下一编辑→
User:Chinanjzyq
(查看源代码)
2023年10月15日 (日) 05:40的版本
删除31字节
、
2023年10月15日 (日) 05:40
无编辑摘要
第2行:
第2行:
<html>
<html>
<head>
<head>
−
<title>
科技感页面
</title>
+
<title>
ZYQ
</title>
<style>
<style>
body {
body {
margin: 0;
margin: 0;
padding: 0;
padding: 0;
−
background-color: #
000
;
+
display: flex;
+
justify-content: center;
+
align-items: center;
+
height: 100vh;
+
background-color: #
222
;
overflow: hidden;
overflow: hidden;
}
}
第17行:
第21行:
height: 100%;
height: 100%;
background-image: url('data:image/png;base64,iVBORw0KGg');
background-image: url('data:image/png;base64,iVBORw0KGg');
−
background-size:
50px
;
+
background-size:
200px
;
background-repeat: repeat;
background-repeat: repeat;
−
animation: pattern 10s infinite;
+
animation: pattern 10s
linear
infinite;
}
}
@keyframes pattern {
@keyframes pattern {
0% {
0% {
−
background-position: 0 0,
50px 50px;
+
background-position: 0 0,
200px 0
, 0
200px, 200px 200px
;
−
}
−
50% {
−
background-position: 100px 100px
, 0
0
;
}
}
100% {
100% {
−
background-position: 0 0,
-50px -50px
;
+
background-position:
400px 0,
0 0,
200px 0, 0 200px
;
}
}
}
}
.text {
.text {
−
position: absolute;
−
top: 50%;
−
left: 50%;
−
transform: translate(-50%, -50%);
color: #fff;
color: #fff;
font-size: 48px;
font-size: 48px;
text-align: center;
text-align: center;
−
line
-
height
:
100px
;
+
margin
-
bottom
:
20px
;
}
}
</style>
</style>
Chinanjzyq
3
个编辑