到底是问吉他教学那个title,还是整个布局?
title代码如下(自己修改颜色):
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
name="viewport">
<meta content="ie=edge" http-equiv="X-UA-Compatible">
<title>Document</title>
<style>
html,body{
margin: 0;
padding: 0;
}
.box {
border-bottom: 1px solid red;
margin: 50px;
}
.box p {
width: 100px;
line-height: 20px;
text-align: center;
background: pink;
color: #fff;
margin: 0;
}
</style>
</head>
<body>
<div>
<div class="box">
<p>吉他教学</p>
</div>
</div>
<script>
</script>
</body>
</html>
ul li会好点吧