<ric>

Relative to the root element's CJK character width. Like rem but for CJK text.

Quick example

.container { width: 20ric; /* relative to root CJK char */ }

<ric> Browser Support

Newly availableSince 202452% global usage

Since 2024 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.

ESC