阅读背景:

在CSS中,在元素之后强制换行而不是使其成为块元素的更好方法是什么?

来源:互联网 

I have an H3 heading that I'd like to style as having a particular background color, but without having the element's background take up the full width of the parent element. Seeing as H3 is by default a block element, my style would need to change the element to an inline-block element, or just an inline inline element like so:I have an H3 heading that I'd like to style as




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: