“User:Chinanjzyq”的版本间的差异

来自Stardew Valley Wiki
跳到导航 跳到搜索
(建立内容为“<!DOCTYPE html> <html> <head> <title>科技感页面</title> <style> body { margin: 0; padding: 0; background-color: #000; overf…”的新页面)
标签移动版编辑 移动网页编辑
 
标签移动版编辑 移动网页编辑
第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>  

2023年10月15日 (日) 05:40的版本

<!DOCTYPE html> <html> <head> <title>ZYQ</title> <style> body { margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #222; overflow: hidden; } .pattern { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('data:image/png;base64,iVBORw0KGg'); background-size: 200px; background-repeat: repeat; animation: pattern 10s linear infinite; } @keyframes pattern { 0% { background-position: 0 0, 200px 0, 0 200px, 200px 200px; } 100% { background-position: 400px 0, 0 0, 200px 0, 0 200px; } } .text { color: #fff; font-size: 48px; text-align: center; margin-bottom: 20px; } </style> </head> <body>

ZYQ

</body> </html>