

css font-stretch属性怎么用?
作用:可对当前的 font-family 进行伸缩变形。
注释:所有主流浏览器都不支持 font-stretch 属性。
css font-stretch属性使用示例
<!DOCTYPE html>
<html>
<head>
<style>
#div1 {font-stretch:condensed;}
#div2 {font-stretch:expanded;}
</style>
</head>
<body>
<p><b>Note:</b> No browsers support the font-stretch property.</p>
<div>
Some normal text in a div element.
</div>
<div id="div1">
Some condensed text in a div element.
</div>
<div id="div2">
Some expanded text in a div element.
</div>
</body>
</html>效果输出:

