CSS字体
作者:不详 来源: 【大 中 小】 浏览: 添加日期:2008-12-12 我要评论(0)
CSS 字体
CSS 字体 (font) 属性定义文本中的字体。
设置字体属性是样式表的最常见用途之一。CSS 字体属性允许您设置字体系列 (font-family) 和字体加粗 (font-weight),您还可以设置字体的大小、字体风格(如斜体)和字体变形(如小型大写字母)。
CSS 字体属性
| 属性 | 描述 | 值 |
|---|---|---|
| font | 简写属性。作用是将所有针对字体的属性设置在一个声明中。 | font-style font-variant font-weight font-size/line-height font-family caption icon menu message-box small-caption status-bar |
| font-family | 字体类型名称或者针对某元素的类属族名名称的优先列表。 | family-name generic-family |
| font-size | 设置字体的尺寸。 | xx-small x-small medium large x-large xx-large smaller larger length % |
| font-size-adjust | 为元素规定 aspect 值。 | none number |
| font-stretch | 收缩或拉伸当前的字体族。 | normal wider narrower ultra-condensed extra-condensed condensed semi-condensed semi-expanded expanded extra-expanded ultra-expanded |
| font-style | 设置字体样式。 | normal italic oblique |
|
|
以小型小写字体或者正常字体显示文本 | normal small-caps |
| font-weight | 设置字体的粗细。 | normal bold bolder lighter 100 200 300 400 500 600 700 800 900 |
2008.10 made by colinivy && wondger
(如果您觉得本站不错,请告诉身边的朋友,或转载到论坛、百度知道、贴吧等,记得带网址哟,不胜感激!)
〖CSS手册〗Tags:
- 上一篇:background-position
- 下一篇:font
相关文章
更多评论(0)..会员评论
最新评论文章
推荐专题
在线交流QQ群
- 106310407(开)
- 55427134(开)
- 2993401(开)
- 33424604(开)
- 2993401(开)
- 161512108(开)
- 161510519(开)
- 158375021(开)
- 155858414(开)
- 143309878(开)
- 16373807(开)
- 129098721(开)
- 123473199(开)
- 146991009(开)
- 135792800(开)
- 78568516(开)
