“CSS 2.1 参考手册/font-style”的版本间的差异

来自Blueidea
跳转至: 导航搜索
另见: 修改错误
另见: 修正错误
 
第30行: 第30行:
 
*[[CSS 2.1 参考手册/line-height|line-height]]
 
*[[CSS 2.1 参考手册/line-height|line-height]]
 
*[[CSS 2.1 参考手册/font-size|font-size]]
 
*[[CSS 2.1 参考手册/font-size|font-size]]
*[[CSS 2.1 参考手册/font-wieght|font-weight]]
+
*[[CSS 2.1 参考手册/font-weight|font-weight]]
 
*[[CSS 2.1 参考手册/font-variant|font-variant]]
 
*[[CSS 2.1 参考手册/font-variant|font-variant]]
 
*原文地址:http://xhtml.com/en/css/reference/font-style/
 
*原文地址:http://xhtml.com/en/css/reference/font-style/
 
[[category:CSS]]
 
[[category:CSS]]

2007-11-17T12:26:58的最后版本

定义

font-style用于使字体倾斜,比如创建斜体。

案例

h2 {font-style: italic}
em {font-style: normal}

特性

可能的值

normal

没有倾斜的效果用于字体。

italic

斜体。

oblique

在大多数的浏览器里面和italic呈现的效果一样。

inherit

使用父元素相同的属性

默认值

normal

适用于

所有元素

继承

另见