Return to Snippet

Revision: 62701
at March 6, 2013 22:27 by apphp-snippets


Initial Code
<style type="text/css">
@-moz-document url-prefix(){
    H5 { color:red; }
    P { margin-left:20px; }
    /* other special styles for FireFox here */
}
</style>

Initial URL
http://www.apphp.com/index.php?snippet=css-targeting-firefox-only

Initial Description
This solution is based on Mozilla specific CSS extension. Other browsers will ignore this rule.

Initial Title
Targeting Firefox With CSS

Initial Tags
css

Initial Language
CSS