2 ms·
CSS Has 42 Units
- stephenlf 1y agoThe “ch” unit is super useful for text-rich webpages. Eg `max width: 70ch` to clamp your blog at 70 characters wide. Speaking of, I believe the `ch` unit references both the width and height of the current font—not just the height as you suggest. I might be totally wrong.