I'm unable to change/remove the link underline and color of the nested text. I checked the debug console and the color says it's inherited from a.masonry-item. I tried changing it but it doesn't do anything. If I change the color from the debug console, it does trickle down. What am I doing wrong?
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>
My expected result is red text with no underline but it has no effect.
. Preferably I'd like to remove all color and decorations from that
– Tong Mar 25 '19 at 00:35`. The only elements containing text are `
` and `
`. What is supposed to be red? This question is quite unclear.
– Andy Hoffman Mar 25 '19 at 00:44and
– Tong Mar 25 '19 at 00:49