Have been using the neat little
@media screen and (-webkit-min-device-pixel-ratio:0) {}
selector until now, and it worked flawlessly. But since a few months, FireFox is also able to process this code, as well as Microsoft Edge apparently.
So yeah, are there any working alternatives left for a CSS-only approach?
To target Firefox Quantum use:
@-moz-document url-prefix() {
@supports (animation: calc(0s)) {
/* Firefox Quantum specific styles */
}
}
for Edge, use:
@supports (-ms-ime-align: auto) {
/* Edge specific styles */
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With