This is the situation:
https://jsfiddle.net/cg1pubv6/
.recent_work__column__w2 { width: 262px; height: 320px; background: red; display: block; } .recent_work__column__w2:hover { width: 262px; height: 320px; background: green; display: block; } <div> <a href="#" class="recent_work__column__w2"> <p class="recent_work__column__title">Brand</p> <p class="recent_work__column__tagline">tagline here</p> </a> </div> It is necessary when pointing to a block (when it changes color) so that the text itself disappears. how to achieve this?