以下是一个简单的PC/wap网站模板,可以根据需要进行自定义:
HTML结构:
```html
t
网站标题t
t
t
t
t
tt
ttt这里是主要内容
ttt这里是主要内容的文字描述。
tt
tt
ttt这里是另一个主要内容
ttt这里是另一个主要内容的文字描述。
tt
tt
```
CSS结构:
```css
/* 设置页面背景色 */
body {
tbackground-color: #f2f2f2;
}
/* 设置页面标题样式 */
header {
tbackground-color: #007bff;
tcolor: white;
tpadding: 20px;
ttext-align: center;
}
/* 设置导航栏样式 */
nav ul {
tlist-style-type: none;
tmargin: 0;
tpadding: 0;
}
nav li {
tdisplay: inline-block;
tmargin-right: 10px;
}
nav a {
tcolor: white;
ttext-decoration: none;
}
/* 设置内容页样式 */
main {
tmargin-bottom: 20px;
}
/* 设置内容页标题样式 */
section {
tmargin-bottom: 20px;
}
/* 设置内容页文字样式 */
h2 {
tcolor: white;
ttext-align: center;
tmargin-bottom: 10px;
}
p {
tfont-size: 18px;
tline-height: 1.6;
}
/* 设置联系我们样式 */
footer {
tbackground-color: #007bff;
tcolor: white;
tpadding: 20px;
ttext-align: center;
}
```
这个模板提供了基本的样式和结构,你可以根据自己的需要进行修改和定制。