BestHub
Discover
Artificial IntelligenceBackend DevelopmentMobile DevelopmentProduct ManagementCloud NativeFrontend DevelopmentFundamentalsBig DataCloud ComputingGame DevelopmentR&D ManagementOperationsDatabasesInformation SecurityBlockchainUser Experience DesignInterview ExperienceIndustry Insights
View all →
TopicsTagsTrendsRanking
Sign in
Discover
Artificial Intelligence Backend Development Mobile Development Product Management Cloud Native Frontend Development Fundamentals Big Data Cloud Computing Game Development R&D Management Operations Databases Information Security Blockchain User Experience Design Interview Experience Industry Insights View all →
TopicsTagsTrendsRanking
Sign in
  1. Home
  2. / Tags
  3. / ic unit
JavaScript
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
What Is the New CSS ‘ic’ Unit and How Does It Measure CJK Text Width?
BestHub

Editorial precision for engineers who prefer signal over noise. Deep reads, careful curation, and sharper frontiers in software.

Best Hub for Dev. Power Your Build.
Navigation
Status Discover Tags Topics System Status Privacy Terms Rss Feed