jQuery CSS Manipulation Get CSS property


Example

To get an element's CSS property you can use the .css(propertyName) method:

var color    = $('#element').css('color');
var fontSize = $('#element').css('font-size');