concept
important-annotation — CSS reference
The annotation elevates a declaration into its origin’s important group. It is not selector specificity and does not override every possible declaration: user/UA important rules and active transitions can outrank author important rules. Within author layers, earlier layers win important conflicts. Avoid using it as a routine override mechanism.
Formal Syntax & Structure
css syntaxcss
color: #006050 !important;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS reference lab</title><style>p {color:#006050!important} #a {color:#802020}</style><body><p id="a" class="note">Field note</p><p id="b">Control</p></body></html>