帮我写一个网站正在建设中的html+css页面
时间: 2023-08-28 20:01:43 浏览: 42
当然可以帮你写一个网站正在建设中的HTML+CSS页面。下面是一个简单的示例:
```html
<!DOCTYPE html>
<html>
<head>
<title>网站正在建设中</title>
<style>
body {
background-color: #f2f2f2;
font-family: Arial, sans-serif;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
text-align: center;
}
h1 {
font-size: 36px;
color: #333;
margin-bottom: 20px;
}
p {
font-size: 18px;
color: #666;
margin-bottom: 10px;
}
.logo {
width: 150px;
height: 150px;
margin: 0 auto;
background-color: #ccc;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}
.logo span {
font-size: 48px;
color: #fff;
}
</style>
</head>
<body>
<div class="container">
<div class="logo">
<span>Logo</span>
</div>
<h1>网站正在建设中</h1>
<p>请稍后访问,感谢您的耐心等待!</p>
</div>
</body>
</html>
```
在上面的示例中,创建了一个简单的网站建设中页面。页面包含一个居中的logo区域、标题和一段文字。你可以根据自己的需求进行修改和美化。希望对你有所帮助!如果还有其他问题,请随时提问。