CSS font-size

上一页 下一页

示例中展现不同的font-size属性值.

选择不同的值查看对应结果:

font-size: xx-small;
font-size: x-small;
font-size: small;
font-size: medium;
font-size: large;
font-size: x-large;
font-size: xx-large;
font-size: smaller;
font-size: larger;
font-size: 10px;
font-size: 20px;
font-size: 50%;
font-size: 150%;
font-size: 1em;
font-size: 0.5em;
Check out the different font-size values!
Check out the different font-size values!
Check out the different font-size values!
Check out the different font-size values!
Check out the different font-size values!
Check out the different font-size values!
Check out the different font-size values!
Check out the different font-size values!
Check out the different font-size values!
Check out the different font-size values!
Check out the different font-size values!
Check out the different font-size values!
Check out the different font-size values!
Check out the different font-size values!
Check out the different font-size values!

要使用更多方法,请在编辑器中试一下: 亲自试一试 ❯