HTML and CSS Reference
In-Depth Information
The highlighted background style rule has a line through it, indicating that
this rule has been overridden by a later rule. In order to reapply this rule, you
could find the later rule and disable it. You could alternatively edit the
selector to make it more specific, but this would give the entire declaration
block more specificity, which might not be desired.
!important could be added to a single line to give weight back to the
overridden rule, thus allowing you to test or debug a CSS issue without
making major changes to your actual stylesheet until you resolve the issue.
Here's the same style rule with !important added. You'll notice the line-
through is now gone, because this rule now has more weight than the rule
that was previously overriding it:
Search WWH ::




Custom Search