css样式大全(整理版)字体属性:(font)大小{font-size:x-large;}(特大)xx-small;(极小)一般中文用不到,只要用数值就可以,单位:PX、PD样式{font-style:oblique;}(偏斜体)italic;(斜体)normal;(正常)行高{line-height:normal;}(正常)单位:PX、PD、EM粗细{font-weight:bold;}(粗体)lighter;(细体)normal;(正常)变体{font-variant:small-caps;}(小型大写字母)normal;(正常)大小写{text-transform:capitalize;}(首字母大写)uppercase;(大写)lowercase;(小写)none;(无)修饰{text-decoration:underline;}(下划线)overline;(上划线)line-through;(删除线)blink;(闪烁)常用字体:(font-family)"CourierNew",Courier,monospace,"TimesNewRoman",Times,serif,Arial,Helvetica,sans-serif,Verdana背景属性:(background)色彩{background-color:#FFFFFF;}图片{background-image:url();}重复{background-repeat:no-repeat;}滚动{background-attachment:fixed;}(固定)scroll;(滚动)位置{background-position:left;}(水平)top(垂直);简写方法{background:#000url(
)repeatfixedlefttop;}/*简写•这个在阅读代码中经常出现,要认真的研究*/区块