1//revising Ankur's answer
2//Syntax:
3$(selector).css({property-name:property-value});
4
5//Example:
6$('.bodytext').css({'color':'red'});
1$('#element').css('display', 'block'); /* Single style */
2$('#element').css({'display': 'block', 'background-color' : '#2ECC40'}); /* Multiple style */
1$("selector").css("property", "value");
2
3// Example:
4$("div").css("background-color", "red");