I have a CSS rule like so:
a {
  line-height: 50px;
  display: inline-block;
  text-decoration: none;
  font-size: 16px;
  color: white;
}
And this HTML:
<a href="/test">test</a>
How can I stop the CSS rule applying to just this element?
If a selector matches an element, then it matches the element.
You have three options:
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