change classes based on breakpoint of bootstrap code example
Example 1: on hover add class on children jquery
$(document).ready(function()
{
$('li.active').hover(
function(){
$(this).children("a").addClass("icon-white"); //Add an active class to the anchor
},
function() {
$(this).children("a").removeClass("icon-white"); //Remove an active class to the anchor
}
)
});
Example 2: To set HTML attribute and css styles in html helper control in mvc
@Html.ActionLink(emp.Name, "EmployeeDetail", new { Id = emp.Id },
new { target="_blank",
style="font-weight: bold;color: red;"})