Adding css to an input control in jquery code example Example: get css value jquery var font-size = $('p').css('font-size'); console.log(font-size);