Setting CSS styles using JQuery

Posted on 13-03-2017 by Nadir Latif


Source: http://www.w3schools.com/jquery/jquery_css.asp

To set CSS style using JQuery we can use the css function of the Jquery object.

e.g $("p").css("background-color", "yellow");