在属性名冒号结束后加一个空字符。 出于一致性的原因,在属性名和值之间加一个空格(可不是属性名和冒号之间噢)。
/* 不推荐 */ h3 { font-weight:bold; } /* 推荐 */ h3 { font-weight: bold; }