
直接复制下面代码保存为html文件就可看到效果,底部也有源码可直接下载。
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>春藤-网站改版中-春藤科技-春藤教育-常春藤</title>
<meta name="robots" content="noarchive" />
<meta name="Baiduspider" content="noarchive" />
<meta name="googlebot" content="noarchive" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<style>
body,
html {
margin: 0;
padding: 0;
}
body {
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
align-content: center;
justify-content: center;
background-size: 300% 300%;
background-image: linear-gradient(-45deg,
rgb(50, 180, 154) 0%,
rgb(28, 134, 118) 25%,
rgb(24, 154, 161) 51%,
rgb(12, 136, 39) 100%);
animation: AnimateBG 20s ease infinite;
text-align: center;
font-family: sans-serif, "Microsoft YaHei", Cambria, Verdana, Georgia, Arial;
}
@keyframes AnimateBG {
0% {
background-position: 0% 50%
}
50% {
background-position: 100% 50%
}
100% {
background-position: 0% 50%
}
}
h1 {
font-size: 52px;
color: #fff;
letter-spacing: 1px;
margin: 0;
}
p {
color: #fcfcfc;
font-size: 18px;
text-shadow: 1px 1px 2px #212121;
}
.box{
filter: brightness(0) invert(1);
}
</style>
</head>
<body>
<div>
<img class="box" src="http://base.chunten.com/upload/default/20230802/eaeebb7334c186da41042c9de076ecf2.png"/>
</div>
<h1>春藤网站改版中</h1>
<p><span>Our website is under construction.</span></p>
</body>
</html>