Breaking

Thursday, May 2, 2013

CSS font-size-adjust

font-size-adjust 3

Bảo tồn khả năng đọc văn bản khi font chữ dự phòng xảy ra

Thuộc tính giá trị Ví dụ Mô tả
font-size-adjust number font-size-adjust: 0.58;  
none font-size-adjust: none;  
inherit font-size-adjust: inherit;  

Xem ví dụ

<style>
.divVerdana {font-family: verdana;}
.divTimes {font-family: 'times new roman';}

#div1 {font-size-adjust:0.58;}
#div2 {font-size-adjust:0.58;}
</style>

<p>Two divs using the same font-size-adjust property:</p>
<div id="div1" class="divVerdana">
You control the font size better with the font-size-adjust property.
</div>

<div id="div2" class="divTimes">
You control the font size better with the font-size-adjust property.
</div>

<p>The same two divs without the font-size-adjust property:</p>
<div class="divVerdana">
You control the font size better with the font-size-adjust property.
</div>

<div class="divTimes">
You control the font size better with the font-size-adjust property.
</div>

Two divs using the same font-size-adjust property:

You control the font size better with the font-size-adjust property.
You control the font size better with the font-size-adjust property.

The same two divs without the font-size-adjust property:

You control the font size better with the font-size-adjust property.
You control the font size better with the font-size-adjust property.

Sự tương thích ( Cập nhật / Báo lỗi )

Firefox Opera Google Chrome Safari IOS Android Window phone
x * x x x x x x

No comments:

Post a Comment