text-size-adjust
Limited availability92% of usersExperimental
Mainly used for mobile devices, this property tells the browser whether it should automatically increase the size of text to make it more readable when you rotate your phone or zoom in. Setting it to 'none' prevents this behavior.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in Firefox or Safari yet, so not every major browser supports it.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
autoForSmartphoneBrowsersSupportingInflation- Inherited
- Yes
- Applies to
- all elements
- Animation type
- byComputedValueType
Quick example
html {
/* Prevents iOS Safari from automatically resizing text when rotating from portrait to landscape */
text-size-adjust: none;
}Values
noneautotext-size-adjust browser support
BaselineLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Not ready for production without a fallback.
Usage92%of people can use this8% use a browser without it.
Browsers
54+
79+Mobile
54+Android