当前位置: 首页 > 网络学院 > 网页制作基础教程 > CSS > CSS font-variant属性

CSS
CSS 介绍
CSS 语法
使用 CSS
CSS 背景
CSS 文字
CSS 字体
CSS 边框
CSS 边距
CSS 填充
CSS 列表
CSS 尺寸
CSS 类别
CSS 定位
CSS 伪类
CSS 伪元素
CSS2 Media类型
CSS 摘要
CSS 实例
CSS2 参考资料
CSS2 打印

CSS font-variant属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 368 ::
收藏到网摘: n/a

The font-variant property is used to display text in a small-caps font, which means that all the lower case letters are converted to uppercase letters, but all the letters in the small-caps font have a smaller font-size compared to the rest of the text.
font-variant 属性可以把小写字母变成小一号的大写字母,原来的大写字母不会有变化。

Inherited: Yes
继承性:有

举例

p
{
font-variant: small-caps
}

可用值

描述
normal The browser displays a normal font
浏览器显示普通大小的字体
small-caps The browser displays a small-caps font
浏览器显示small-caps字体

评论 (0) All

登陆 | 还没注册?