.cshtml
<li>@Html.ActionLink("Tools", "Index", new { Area = "", Controller = "Tools" })</li>
.css
a:active
{
font-weight: bold;
background: #F96611;
border: 3px solid #FFB380;
}
a:active works only between mouse click press and release. But I need the menu to be in highlighted after the mouse click of a menu. Thanks
You cant add in css. .active applies for click only but not for active state. you can use the below jquery code for adding class on click