I'm having trouble removing the link underline and changing the color of the nested text. I looked at the debug console and it seems like the color is inherited from a.masonry-item. I attempted to modify it but without success. Strangely, if I change the color directly from the debug console, the changes do apply. What am I missing?
a.masonry-item {
text-decoration: none;
color: red;
}
<a href="#" class="masonry-item">
<div class="card masonry-content">
<img src="https://picsum.photos/450/325?image=100" alt="Dummy Image" />
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
</a>
Although I expected to see red text with no underline, my attempts have not yielded the desired result.