Question

Seems that most of the questions on SO are looking to separate 3.6 from 3.5, but I want to separate 3.6 from 4.0+ without access to JS or server-side mechanisms.

Thanks.

Was it helpful?

Solution

body:-moz-last-node #element {/* ≤ Firefox 3.6 */}
:-moz-any(html) #element {/* ≥ Firefox 4 */}

The second rule is there to reset recent versions of Gecko-based browsers.
But remember that it will probably be dropped in favour of :matches() in the near future.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top