stylis icon indicating copy to clipboard operation
stylis copied to clipboard

Add support for css media resolution vendor prefixing

Open lucianojss opened this issue 4 years ago • 1 comments

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.

lucianojss avatar Jun 03 '20 16:06 lucianojss

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

Andarist avatar Jun 03 '20 17:06 Andarist