Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Is atrules option still relevant ? #39

Open
iamvdo opened this issue Jul 1, 2015 · 2 comments
Open

Is atrules option still relevant ? #39

iamvdo opened this issue Jul 1, 2015 · 2 comments
Labels

Comments

@iamvdo
Copy link
Collaborator

iamvdo commented Jul 1, 2015

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, rem fallbacks in at-rules are only needed in font shorthand and pseudo-element.
  • all other browsers support rem

Anyone has a use-case ?

@robzor
Copy link

robzor commented Dec 3, 2015

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

@dustinwilson
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants