.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>
The class bord contains font-stretch css property but doesn't seem to work on IE11
According to this, here is why :
In order to use
font-stretchand see a result of some kind, the font being used has to have a face that matches the value given. In other words,font-stretchwill not work on just any font, but only on fonts that are designed with different faces matching the defined sizes.
so this is not an IE11 issue.
.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>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With