styling element using jquery

JavaScript
Syntax:
$(selector).css(property-name:property-value);

Example:
$('.bodytext').css('color':'red');
Source

Also in JavaScript: