It helps to sets or returns one or more style properties for the selected elements.
.css()
// To add new styles.
$(“p”).css(“background-color”,”yellow”);
$(“p”).css({“background-color”:”yellow”,”font-size”:”100%”});
It helps to sets or returns one or more style properties for the selected elements.
// To add new styles.
$(“p”).css(“background-color”,”yellow”);
$(“p”).css({“background-color”:”yellow”,”font-size”:”100%”});