change attribute style jquery code example
Example 1: jquery css
$('#element').css('display', 'block'); /* Single style */
$('#element').css({'display': 'block', 'background-color' : '#2ECC40'}); /* Multiple style */
Example 2: get css value jquery
var font-size = $('p').css('font-size');
console.log(font-size);