JavaScript
Sep 30, 2022 · Frontend Development
What Is the New CSS ‘ic’ Unit and How Does It Measure CJK Text Width?
The CSS ‘ic’ unit, introduced in CSS 4, measures length based on the width of a CJK ideograph, allowing developers to specify dimensions such as ‘max-width: 2ic’ to span exactly two CJK characters, with a default value equivalent to 1 em.
CJKCSSCSS4
0 likes · 1 min read
