Reputation: 31
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?
Upvotes: 0
Views: 381
Reputation: 31
Alternative targeting FF Mozilla FireFox:
@-moz-document url-prefix('') {body {background-color: red;}}
Only supports an empty url-prefix() value, which is supported due to its use in Firefox browser detection. Still supported in user stylesheets.
Upvotes: 1