Lurker News

Comments (94) 31 threads

Show all comments

Showing thread 8 of 31

JoshuaRLi2 replies#
Very cool - thanks for sharing, and the shoutout (consider also replacing 38rem/2rem with 70ch/2ch)!
LeonB#
cheers, i've applied that now
e12e1 reply#
I wasn't aware of "ch". Why prefer it to rem? (and isn't ch in family with em, not rem - that is, "advance width" relative to element font size, not root element font size?)

Ed: i guess in this case 1 rem is roughly 2 em (styled element has 50% font size) - and 1 ch is roughly 1 em?