在 CSS 中,当我们将 font-weight 指定为百的倍数时,如 font-weight: 500;字体粗细:700;等等。
font-weight 是否有任何最大值,使得 font-weight 在一定范围内会特别粗或最大,比如:font-weight:1500 那样
最佳答案
900
是 CSS2.1 specification 中定义的最大值:
normal | bold | bolder | lighter
100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900
inherit
The 'font-weight' property selects the weight of the font. The values '100' to '900' form an ordered sequence, where each number indicates a weight that is at least as dark as its predecessor. The keyword 'normal' is synonymous with '400', and 'bold' is synonymous with '700'. Keywords other than 'normal' and 'bold' have been shown to be often confused with font names and a numerical scale was therefore chosen for the 9-value list.
关于css - 百的倍数的最大字体粗细值是多少,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19541953/