jquery add css background color code example
Example 1: set css using jquery
$('.name').css('color':'blue');
Example 2: how to css in jquery
$(init);
function init() {
$("h1").css("backgroundColor", "yellow");
$("#myParagraph").css({ "backgroundColor": "black", "color": "white" });
$(".bordered").css("border", "1px solid black");
}