Topic: CSS Basics

!important – CSS

Preview

In CSS, you can override a declaration in another rule by using the !important keyword:

p {
  color: red !important;
}

To view this and the other 300+ tutorials on Simple Dev, sign up for a 10-day free trial.