css简写总结

1.font简写

font-style | font-variant | font-weight | font-size | font-family

.fontStyle{ font:italic normal bold 12px arial,verdana; }

2.background简写

background-color | background-image  | background-repeat | background-attachment | background-position

.bg{ background:#FFCC66  url("path/bgFile.gif")  no-repeat  fixed  left  top; }

原文地址:https://www.cnblogs.com/mengff/p/7205197.html