node-pixrem
node-pixrem copied to clipboard
Is `atrules` option still relevant ?
Now that the module uses browserslist, is atrules option to force fallbacks in at-rules still relevant ?
Reminder:
- if you target IE8, IE9 or IE10,
remfallbacks in at-rules are only needed infontshorthand and pseudo-element. - all other browsers support
rem
Anyone has a use-case ?
Hi @iamvdo ,
Forgive me if I'm being ignorant, but if I'm using respond.js for IE8 that will allow the use of media-queries, and therefore the px rules inside them are still relevant. Also, I am using rem for all my font-sizes too so I would still require atrules for IE9/10.
Thanks,
Rob
I still require them for the reason @robzor mentioned, and there's also another use case. Opera has supported CSS3 media queries for years now, many years before any other browser supported them (so long in fact media queries back in the day were used as a CSS hack to supply styles just to Opera) and therefore long before rem was supported which arrived in Opera in version 12. IMO because of this pixrem should do fallbacks in atrules by default.