DevTools/CSSTips: Difference between revisions

Jump to navigation Jump to search
Line 85: Line 85:


If you're not sure then go for content CSS unless you can imagine the value changing on another platform.
If you're not sure then go for content CSS unless you can imagine the value changing on another platform.
<tt>-moz-appearance</tt> is tricky. Generally, when specifying <tt>-moz-appearance: foo;</tt> you're giving hints as to how something should act. So this is probably content CSS. However <tt>-moz-appearance: none;</tt> is probably a counter example where you're saying 'ignore browser preconceptions'.


When importing your stylesheets, it's best to import the content CSS before the theme CSS, that way the theme values get to override the content values (which is probably what you want), and you're going to want them both before the global values, so your imports will look like this:
When importing your stylesheets, it's best to import the content CSS before the theme CSS, that way the theme values get to override the content values (which is probably what you want), and you're going to want them both before the global values, so your imports will look like this:
Confirmed users
295

edits

Navigation menu