1. 字体间距与行距:letter-spacing: 5px; (间距)line-height: 30px; (行距)
2.三原色 定义color:rgb(0,0,255);
3. 设置透明度 filter: alpha(opacity=0); opacity: 0; -moz-opacity:0;
4. 表达式写法,input类型为text、radio的border:1px; 其他0px;
input { border: expression(this.type == "text" || this.type =="radio"? "1px" : "0px"); }
5. 简写样式 margin: 1px 2px 3px 4px;(上右下左)
font:font-style font-variant font-weight font-size/line-height font-family (后面两个必须定义)
border: border-width border-style border-color (可以只写一个)
background:background-color background-image background-repeat background-attachment background-position (可以只写一个)