html四大名著介绍网页
时间: 2023-12-27 11:04:29 浏览: 49
以下是一个简单的HTML四大名著介绍网页的例子:
```html
<!DOCTYPE html>
<html>
<head>
<title>四大名著介绍</title>
<meta charset="UTF-8">
<style>
h1 {
text-align: center;
font-size: 36px;
margin-top: 50px;
}
ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
li {
margin: 20px;
padding: 20px;
border: 1px solid #ccc;
border-radius: 10px;
width: 300px;
height: 300px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
font-size: 24px;
font-weight: bold;
color: #333;
text-decoration: none;
transition: all 0.3s ease;
}
li:hover {
transform: scale(1.1);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
li a {
color: #333;
text-decoration: none;
}
</style>
</head>
<body>
<h1>四大名著介绍</h1>
<ul>
<li><a href="#">《水浒传》</a></li>
<li><a href="#">《三国演义》</a></li>
<li><a href="#">《西游记》</a></li>
<li><a href="#">《红楼梦》</a></li>
</ul>
</body>
</html>
```