什么是< hr noshade/>的CSS版本? [英] What's CSS version of <hr noshade/>
本文介绍了什么是< hr noshade/>的CSS版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道HTML5中不支持 noshade
,因此他们建议使用CSS来完成此操作……但是CSS的替代品是什么:
I know that noshade
is not supported in HTML5, and they recommend to use CSS to accomplish this... but what is the CSS replacement to this:
<hr noshade/>
推荐答案
这可能有效:
hr
{
border: 1px solid rgb(128, 128, 128);
}
这篇关于什么是< hr noshade/>的CSS版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文