<rex>
Newly availableSince 202652% of users
Relative to the root element's x-height. Like rem but for x-height.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since January 2026. Widely available around July 2028.
See how modern your own CSS is.Check your CSS →
Quick example
.text { font-size: 1.5rex; /* relative to root x-height */ }<rex> browser support
BaselineNewly availableSince 2026 this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.Works in all modern browsers. May need a fallback for older browsers.
Usage52%of people can use this48% use a browser without it.
Browsers
111+
147+
17.2+
111+Mobile
111+Android
147+Android
17.2+iOS