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

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

CSS font-stretch属性


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

The font-stretch property condenses or expands the current font-family.
font-stretch 属性可缩窄或拉宽当前的font-family

Note: The font-family are condensed or expanded horizontally only.
注意:font-family 只会在水平方向上伸缩

Inherited: Yes
继承性:有

举例

h2
{
font-stretch: ultra-condensed
}

可用值

描述
normal Sets the scale of condensation or expansion  to normal
不应用拉伸变形
wider Sets the scale of expansion to the next expanded value
使用比当前设置的值导致字体宽度更大的值
narrower Sets the scale of condensation to the next condensed value
使用比当前设置的值导致字体宽度更小的值
ultra-condensed
extra-condensed
condensed
semi-condensed
semi-expanded
expanded
extra-expanded
ultra-expanded
Sets the scale of condensation or expansion of the font-family. "ultra-condensed" is the most condensed (narrowest) value, and "ultra-expanded" is the most expanded (widest) value
设置拉伸和拉宽的程度

评论 (0) All

登陆 | 还没注册?