a:hover {
color: #237ca8 !important;
font-weight: bold;
}
a:active {
color: #cccccc !important;
font-weight: bold;
}
Above is my css and HTMl is
<div class="services">
<h2>Request a Quote</h2>
<ul class="contact">
<li>
<a href="forms/request-quote2.php">
Warehousing & Inventory Management
</a>
</li>
<li>
<a href="forms/request-quote3.php">
Last Mile Transportation
</a>
</li>
</ul>
</div>
Hover link is working fine but I tried so many times in different ways but this code is not working at all.
I want that if i click on third link then third link will be in different color other then which are not active means different color for current link is open.