How to use css property in JQuery

How to use css property in JQuery.
[js]
$("#main").css({‘width’: ‘99.5%’});
[/js]
Here main is my UI element, Here I am assigning width as 99.5%

Leave a Reply

Your email address will not be published. Required fields are marked *

Serverless 360