jQuery CSS Manipulation Set CSS property


Example

Setting only one style:

$('#target-element').css('color', '#000000');

Setting multiple styles at the same time:

$('#target-element').css({
    'color': '#000000',
    'font-size': '12pt',
    'float': 'left',
});