4 ms·
Sure, I understand the desire behind it. In practice, using a "ch" value for width is identical in behavior to just measuring out your intended width with abso
by lelandfe 4y ago
Sure, I understand the desire behind it.
In practice, using a "ch" value for width is identical in behavior to just measuring out your intended width with absolute pixel values. Which is to say, neither of them accomplish the goal.
- eurasiantiger 4y agoAnd what would accomplish the goal?
- lelandfe 4y agoCSS doesn't have a unit that does, frankly... Content-oriented things are slowly coming, though. You can see that in properties like `line-clamp`. (I suspect that a unit that actually expresses characters-per-line is difficult at a performance level)