0731-84469346 / 152-7483-9229
更新时间:2015年10月21日

CSS优化Use Shorthand使用缩写

  《CSS优化:Use Shorthand》转载自一个国外的网站,教大家基础的CSS优化技巧——CSS缩写,其中两张图片,形象的说明了盒模型相关属性(margin、padding)缩写的技巧,以及关于文字(font)定义的缩写技巧。大家可以借助于翻译软件,浏览整个教程。52CSS.com关于缩写的教程有很多,您也可以参考下面的文章:
  margin、padding、border、background和font缩写示例
  http://www.52css.com/article.asp?id=762
  背景(Background)如何缩写?
  http://www.52css.com/article.asp?id=172
  CSS中级教程 快捷属性缩写
  http://www.52css.com/article.asp?id=348
  CSS常用缩写语法
  http://www.52css.com/article.asp?id=56

  If you’re not already writing in shorthand, you’re late to the party. But fortunately, this party never ends. Using shorthand properties is the single easiest practice you can do to cut down your code (and coding time). There’s no better time than the present to start this efficient coding practice, or to review it.by:52css.com
  Margin, border, padding, background, font, list-style, and even outline are all properties that allow shorthand (and that’s not even an extensive list!).
  CSS Shorthand means that instead of using different declarations for related properties…

CSS优化Use Shorthand使用缩写 Example Source Code [www.52css.com]

上一篇: CSS缩写总结 六种实例图解
下一篇:CSS兼容IE6不支持除a标签以外的hover属性