.bord {
border: 1px solid black;
font-stretch: extra-condensed;
}
<div class="bord">
Hello, there is an error in your code. Also the content does not condense as desired
</div>
类bord
包含font-stretch
css属性,但似乎不适用于IE11
答案 0 :(得分:1)
根据this,原因如下:
为了使用
font-stretch
并查看某种结果,字体 被使用必须有一个与给定值相匹配的面。其他 单词,font-stretch
不适用于任何字体,只适用于字体 使用与定义尺寸匹配的不同面设计。
所以这是不 IE11问题。
.bord {
border: 1px solid black;
font-stretch: extra-condensed;
}
<div class="bord">
Hello, there is an error in your code. Also the content does not condense as desired
</div>
div {
border: 1px solid black;
font-family: arial;
}
.bord {
font-stretch: extra-condensed;
}
<div class="bord">
Hello, there is an error in your code. Also the content does not condense as desired
</div>
<hr />
<div>
Hello, there is an error in your code. Also the content does not condense as desired
</div>