html – make multiple elements hover


.title {
    text-decoration: none !important;
    color: #000000;        
}

.title:hover{
    color: #f20d20;
}
<div>
    <a class="title" href="https://stackoverflow.com/questions/69534340/google.com">title 1</a>   
    <a class="title" href="https://stackoverflow.com/questions/69534340/google.com">title 2</a>
    <a class="title" href="https://stackoverflow.com/questions/69534340/google.com">title 3</a>  
</div>



Source link

Latest articles

Related articles

Leave a reply

Please enter your comment!
Please enter your name here