4 ms·
I'm working on an Ionic2 project right now and we talked about a lot of this stuff and the desire for a `min-font-size` and `max-font-size`-like CSS rules. This
by marpstar 10y ago
I'm working on an Ionic2 project right now and we talked about a lot of this stuff and the desire for a `min-font-size` and `max-font-size`-like CSS rules. This is great stuff, can't wait to share this with my team.
- err4nt 10y agoDid 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.