3 ms·
Did somebody say min-font-size and max-font-size? I've got a demo of the lock-style implementation they are talking about in the article here: http://codepen.i
by err4nt 10y ago
Did somebody say min-font-size and max-font-size?
I've got a demo of the lock-style implementation they are talking about in the article here: http://codepen.io/tomhodgins/pen/QEVbwR http://codepen.io/tomhodgins/pen/QEVbwR
And another, JavaScript-powered version that I think is closer to how min-font-size or max-font-size would work if implemented as a CSS property here: http://codepen.io/tomhodgins/pen/bZxvjg http://codepen.io/tomhodgins/pen/bZxvjg
- marpstar 10y agoour solution definitely ended up looking like your first example. it wasn't that solving the problem was particularly difficult, but just something we hadn't really run into. previous approaches of just using em and rem were working fine for the most part, but for one particular use case we wanted more.