CSS – Making an attribute of one class more important than another
In order for one CSS attribute to take over another – for example, when one item is defined by two classes – it is possible to use the important option!
Like what:
Css:
. style1
background-color: #38c8ff;
}
. style2
background-color: #ffffff!important;
}
The background will ultimately be white