Answers for "how to make the whole css class important"

CSS
3

important css

/* The !important property in CSS means that all subsequent rules on
an element are to be ignored, and the rule denoted by !important is
to be applied. This rule overrides all previous styling rules -- the
!important property increases its priority. */
h1 {
  background-color: red !important;  /* Syntax */
}
/* The !important property is mentioned immediately before the semicolon */
Posted by: Guest on February-22-2021

Code answers related to "how to make the whole css class important"

Browse Popular Code Answers by Language