以下是一些攻略网站模板推荐:
1. 美食攻略网站模板:
```css
/* 样式表 */
body {
font-family: Arial, sans-serif;
}
header {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
nav {
background-color: #333;
color: #fff;
padding: 20px;
display: flex;
justify-content: space-between;
}
nav ul {
list-style: none;
margin: 0;
}
nav li {
margin-right: 20px;
}
nav a {
color: #fff;
text-decoration: none;
padding: 10px 20px;
border-radius: 5px;
border: none;
}
section {
margin-bottom: 50px;
}
article {
margin-bottom: 20px;
padding: 20px;
background-color: #fff;
border-radius: 5px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}
video {
width: 100%;
height: 400px;
}
footer {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
```
2. 旅行攻略网站模板:
```css
/* 样式表 */
body {
font-family: Arial, sans-serif;
}
header {
background-color: #777;
color: #fff;
padding: 20px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
nav {
background-color: #777;
color: #fff;
padding: 20px;
display: flex;
justify-content: space-between;
}
nav ul {
list-style: none;
margin: 0;
}
nav li {
margin-right: 20px;
}
nav a {
color: #fff;
text-decoration: none;
padding: 10px 20px;
border-radius: 5px;
border: none;
}
section {
margin-bottom: 50px;
}
article {
margin-bottom: 20px;
padding: 20px;
background-color: #fff;
border-radius: 5px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}
video {
width: 100%;
height: 400px;
}
footer {
background-color: #777;
color: #fff;
padding: 20px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
```
这些模板可以根据需要进行调整,以适应不同的网站类型和主题。