打印本文 打印本文 关闭窗口 关闭窗口
CSS 属性参考资料表
作者:武汉SEO闵涛  文章来源:敏韬网  点击数677  更新时间:2009/4/23 13:46:13  文章录入:mintao  责任编辑:mintao
字型 性質名稱 可用值 作用範圍 是否可繼承 %百分比
font-family [[<family-name> | <generic-family>],]* [<family-name> | <generic-family>]

預設值:依瀏覽器而定

所有元素     是 不可使用 font-style normal | italic | oblique 所有元素     是 不可使用 font-variant normal | small-caps 所有元素     是 不可使用 font-weight normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 所有元素     是 不可使用 font-size <absolute-size> | <relative-size> | <length> | <percentage>

預設值:medium

所有元素     是 相對於親元素的字形尺寸 font
(簡寫性質) [<font-style> || <font-variant> || <font-weight>]? <font-size> [/<line-height>]? <font-family>

預設值:未定義

所有元素     是 可使用在 <font-size> 與 <line-height> 兩部分   顏色與背景 性質名稱 可用值 作用範圍 是否可繼承 %百分比 color <color>

預設值:依瀏覽器而定

所有元素     是 不可使用 background-color


打印本文 打印本文 关闭窗口 关闭窗口