写一个时尚展示模板网页
时间: 2023-09-30 19:09:59 浏览: 70
以下是一个简单的时尚展示模板网页,你可以根据需要进行修改和美化:
```
<!DOCTYPE html>
<html>
<head>
<title>时尚展示</title>
<style type="text/css">
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
}
h1 {
text-align: center;
color: #333;
margin-top: 50px;
}
.container {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 50px;
}
.item {
flex: 1;
margin: 20px;
box-shadow: 0 0 10px rgba(0,0,0,0.2);
transition: all 0.3s ease-in-out;
cursor: pointer;
}
.item:hover {
transform: translateY(-10px);
box-shadow: 0 0 20px rgba(0,0,0,0.4);
}
.item img {
width: 100%;
height: auto;
}
.item h2 {
text-align: center;
color: #333;
margin-top: 10px;
}
.item p {
text-align: center;
color: #666;
margin-top: 5px;
}
</style>
</head>
<body>
<h1>时尚展示</h1>
<div class="container">
<div class="item">
<img src="https://picsum.photos/400/400" alt="时尚展示">
<h2>时尚展示标题</h2>
<p>时尚展示描述</p>
</div>
<div class="item">
<img src="https://picsum.photos/400/400" alt="时尚展示">
<h2>时尚展示标题</h2>
<p>时尚展示描述</p>
</div>
<div class="item">
<img src="https://picsum.photos/400/400" alt="时尚展示">
<h2>时尚展示标题</h2>
<p>时尚展示描述</p>
</div>
<div class="item">
<img src="https://picsum.photos/400/400" alt="时尚展示">
<h2>时尚展示标题</h2>
<p>时尚展示描述</p>
</div>
<div class="item">
<img src="https://picsum.photos/400/400" alt="时尚展示">
<h2>时尚展示标题</h2>
<p>时尚展示描述</p>
</div>
<div class="item">
<img src="https://picsum.photos/400/400" alt="时尚展示">
<h2>时尚展示标题</h2>
<p>时尚展示描述</p>
</div>
</div>
</body>
</html>
```
这个模板网页使用了 HTML 和 CSS,其中包含一个标题、一个容器和若干个展示项。你可以根据需要自定义样式、添加内容和链接等。
阅读全文
相关推荐















