CSS - 属性缩写(简写属性)的顺序重要吗 (shorthand property)
首先这是肯定的, 比如margin之类的, 但对于background 或者 font这种呢?
先转一个MDN的文章:https://developer.mozilla.org/zh-CN/docs/Web/CSS/Shorthand_properties
再转一个提出例外的文章:https://www.webfx.com/blog/web-design/background-css-shorthand/
[ 在这个网页里搜 Does the order of property values ...
原创
2020-05-09 21:47:13 ·
349 阅读 ·
0 评论