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