整理了下,CSS常用的简写形式。除了font的简写形式必须写上font-size和font-family以外,其他不必写完整的属性。
- font:font-style||font-variant||font-weight||font-size||line-height ||font-familey
- background:background-color||background-image||background-repeat||background-attachment||background-position
- list-style:list-style-image||list-style-position||list-style-type