//Set one style attribute $('#element').css('display', 'block'); //Set multiple style attributes $('#element').css({'display': 'block', 'background-color' : '#2ECC40'}); /* Multiple style *