How to use css() in JQuery?
With the help of CSS() method, we can add or remove CSS properties to an HTML element.
BY Best Interview Question ON 12 Jun 2019
Example
Syntax
$(selector).css(property);
$("#divID").css("display", "block");
With the help of CSS() method, we can add or remove CSS properties to an HTML element.
Syntax
$(selector).css(property);
$("#divID").css("display", "block");