<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 available Since 2024 52% 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