8

Need to make more "beautiful" our corporate website, all the theme's css is with !important... wtf!?

Comments
  • 0
    CSS
    p {
    color: red !important;
    }
    #thing {
    color: green;
    }

    HTML
    <p id="thing">Will be RED.</p>

    The paragraph is will be red, even though the ID selector has higher specificity. The !important rule overrides that particular property.
  • 0
    @iKhuhZ yes exactly my point :)
  • 0
    @Pantaley freaking dumbasses haha
Add Comment