您好,欢迎来到百万美食网。
搜索
您的当前位置:首页cssfont-stretch属性怎么用

cssfont-stretch属性怎么用

来源:百万美食网
 css font-stretch属性可对当前的 font-family 进行伸缩变形,所有主流浏览器都不支持font-stretch属性。

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>

效果输出:

Copyright © 2019- bwgh.cn 版权所有

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务