Opposite Of !important In Css Code Example


Example 1: important css


body{
font-family: verdana, arial !important;
}

Example 2: 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 */

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android SDK Location Should Not Contain Whitespace, As This Cause Problems With NDK Tools