Loading…

How to use css() in JQuery?

With the help of CSS() method, we can add or remove CSS properties to an HTML element.

Example

                                        

Syntax
$(selector).css(property);

$("#divID").css("display", "block");

Suggest An Answer

No suggestions avaliable!

Latest post from JQuery interview questions

Ask Question