Skip to content

Glossary: HTML & CSS Basics

!important

Also written: important

A flag added to a CSS declaration, such as `color: red !important;`, that makes it beat normal declarations in the cascade. It is best avoided, because it makes later style changes painful to override.

Where the book teaches it