To target only IE with specific CSS, one way is to put it in an IE-specific stylesheet file, and then use the conditional comments for IE. ![]() A bit "hacky" perhaps, but it sounds like your best shot. As only Mozilla will recognize that as valid CSS, all other browsers will ignore it. If you want to target only Firefox with some specific CSS, this SO answer states that you can wrap the Mozilla specific properties with a rule. ![]() The inherit keyword has been around for ages and therefor Firefox, like any other browser, implement it the way the CSS-specification states, without a vendor prefix. Vendor-prefixed properties (like those used for some CSS3 properties) are only used for properties that are still "experimental" or evolving. ![]() Mozilla support inherit like any other browser, if that is what you mean? There is no Firefox specific way to write font-family: inherit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |