The -x-auto-font-size
property sets whether to enable text adaptive font size adjustment, minimum text font size, maximum text font size, and font size adjustment granularity value. All parameters except the first one are optional.
First parameter indicates whether to enable text adaptive font size adjustment, 'true' to enable, 'false' to disable
Second parameter specifies the minimum text font size, value is <length>
, this parameter is optional
Third parameter specifies the maximum text font size, value is <length>
, this parameter is optional when the first two parameters exist
Fourth parameter specifies the font size adjustment granularity value, value is <length>
, this parameter is optional when the first three parameters exist, default value is 1px
Initial value | false |
Applies to | text |
Inherited | no |
Animatable | no |
LCD tables only load in the browser