CSS hacks targeting different versions of Firefox. Some of these CSS Firefox hacks are organized according to version number and presented with ease of copying and pasting in mind. That said, here are some notes that apply to all of the hacks in this article.
- For each hack, change only
.selector, and of course the declaration blocks.
- Hacks that do not validate as CSS are designated with
[!]in the associated comment.
- If you discover any inconsistencies, incompatibilities, or inoperabilities, please leave a comment.
- This post is a work in progress. Please share any Firefox hacks that are not on the list.
Types of CSS hacks
1. target -
We are referring to the application of CSS styles to a particular, targeted browser (or set of browsers) at the exclusion of all others.
We are referring to the application of CSS styles to every browser except a particular browser (or set of browsers).