Change hr style in HTML page
This question already has an answer here:
The appearance of <hr>
in the browser is based on border styles and not dictated by the color
property. Therefore, try using border-color
instead:
hr {
border: none;
border-top: 1px solid whitesmoke;
}
<hr>
您可以使用:
hr { border: 0px; border-bottom: 1px solid whitesmoke; }
<hr/>
hr {border-top: 1px solid whitesmoke;}
<hr>
链接地址: http://www.djcxy.com/p/15740.html
上一篇: 设计<hr />元素
下一篇: 在HTML页面中更改hr样式