I'm a bit confused in what you were trying to do. If you were wanting to color the text red, it could have been in a color call versus a class.
And, a class for color might be done but would normally be something like class="w3-red" OR set initially for all items using red.
Code:
.important:active,
.important.active,.important:focus,
.important.focus,
.important:hover,
.important a:hover {
color: red;
background-color: white !important;
border-color: red !important;
}
Just seems strange for you to say class red. It might work, but does it pass muster with a css validator?
Bookmarks