..層疊樣式表

Rex Song is specialized in usable, high quality web design.
Trained cognitive psychologist, design thinker, user experience evangelist.

书写

再谈CSS样式表书写风格3.29.2009
CSS样式表书写风格7.6.2006
样式管理笔记1.27.2006
CSS在线编辑器1.10.2006

好代码应该清晰上下、左右分级,适当的分块、留白将有助于模块化设计;
大大提高可扩展性、可复用性、可维护性。

min_width_770px_and_max_width_1024px 2005.12

框架

整理比较基础的CSS定义和方案,有较强通用性。包括各种复合应用,及常见浏览器的私有应用。以减轻工作中的大量重复劳动,本框架与英文参考的重要区别是更适应中文。

Reference

兼容解决方案

根据实践经验总结,整理专业术语和概念名词的知识框架。串接概念、流程、方法、角色、产出五大面,涵盖产品设计各主要维度。

<!--[if IE]> <![endif]--> /* only ie */
<!--[if IE 7]> <![endif]--> /* only ie7 */
<!--[if !IE 7]> <![endif]--> /* exclude ie7 */
<!--[if GT IE 7]> <![endif]--> /* greater than ie7 */
<!--[if GTE IE 7]> <![endif]--> /* greater than or equal to ie7 */
<!--[if LT IE 7]> <![endif]--> /* less than ie7 */
<!--[if LTE IE 7]> <![endif]--> /* less than or equal to ie7 */

#demo { _property:value;} /* for ie5 & ie6 */
#demo { +property:value;} /* for ie5 & ie6 & ie7 */

*html #demo {} /* only ie */
*+html #demo {} /* only ie7 */
body:nth-of-type(1) #demo {} /* only chrome */