stylis
stylis copied to clipboard
Add support for css media resolution vendor prefixing
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.
I think this is doable - and probably a good thing to include. WDYT @thysultan ?