开发者

is -negative margin or padding invalid CSS according to W3C?

is -negative margin or padding are inval开发者_如何学Cid CSS aaccording to W3C ?


According to Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification - 8.4 Padding properties, negative margin values are valid, negative padding values are not:

Unlike margin properties, values for padding values cannot be negative

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜