0

I was working on a plugin and got a very basic question in mind, would be really grateful if someone can help me out with it. Why exactly do we use (min--moz-device-pixel-ratio:0) query and how does it differ from the other queries. How does it specifically select only the mozilla browser. Are there any alternatives that have appeared in the recent times?

1 Answers1

1

Alternative targeting FF Mozilla FireFox:

@-moz-document url-prefix('') {body {background-color: red;}}

@document

Only supports an empty url-prefix() value, which is supported due to its use in Firefox browser detection. Still supported in user stylesheets.