What is the best way to override CSS rules from a CDN stylesheet?
For example, I want text decoration on all anchored text would I just use:
a{text-decoration: underline !important;}
Since bootstrap has:
a{text-decoration: none;}
Is there a better way?
There's no need for !important
with a selector like that. Just make sure your rules come after bootstrap's rules and you'll be fine.
<link rel="stylesheet" href="//bootstrap.cdn.url.wow.css">
<style>
a {
text-decoration: underline;
}
</style>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With