div{
width: 100%;
height: 30px;
background: #65666D;
}
ul{
width: 600px;
margin:auto;
}
li{
float: left;
list-style: none;
margin-right: 20px;
line-height: 30px;
}
a{
text-decoration: none;
color: white;
}
hr{
height: 20px;
background: red;
}
2,可以对hr进行修饰,但是不能在里面添加文字
本文地址:https://www.39baobao.com/show/15_5286.html
以上内容来自互联网,请自行判断内容的正确性。若本站收录的信息无意侵犯了贵司版权,请联系我们,我们会及时处理和回复,谢谢.