热门 CSS高效书写小贴士分享
统一样式书写顺序位置属性(position, top, right, z-index, display, float等)大小(width, height, padding, margin)文字系列(font, line-height, letter-spacing, color- text-align等)背景(background, border等)其他(animation, transition等)精简特殊值颜色十六进制表示法如果每两位的值相同,可以缩写一半,如:color:#336699; background:#AABBCC;简化后color:#369; background:#ABC;...