Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for css media resolution vendor prefixing #224

Open
lucianojss opened this issue Jun 3, 2020 · 1 comment
Open

Add support for css media resolution vendor prefixing #224

lucianojss opened this issue Jun 3, 2020 · 1 comment

Comments

@lucianojss
Copy link

lucianojss commented Jun 3, 2020

Description

At the moment stylis.js does not support media query resolution vendor prefixing.

Example

This input

@media (min-resolution: 1dppx) {
    background-color: red;
  }

Should generate:

@media (-webkit-min-device-pixel-ratio: 1), (min-resolution: 1dppx) {
    background-color: red;
}

What's the possibility to support this? Safari browsers requires it.

@Andarist
Copy link
Collaborator

Andarist commented Jun 3, 2020

I think this is doable - and probably a good thing to include. WDYT @thysultan ?

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

No branches or pull requests

2 participants