Ad

How To Change Color Of This Anchor Tag

- 1 answer

I can't change the color of this <a>.

.icon-link a {
  text-decoration: none;
  color: #222230 !important;
  font-size: 14px;
  line-height: 38px;
  font-weight: 400;
}
<div class="icon-link">
  <a target="_blank" rel="nofollow noreferrer" href="#">
    <div class="inner-ico-link">
      <img src="./images/key.png" alt="">
      <p>SSO</p>
    </div>
  </a>
</div>

Ad

Answer

In my codepen if I try to change the color of that tag it works.
Maybe the problem is with another style.

Ad
source: stackoverflow.com
Ad