1$('#element').css('display', 'block'); /* Single style */
2$('#element').css({'display': 'block', 'background-color' : '#2ECC40'}); /* Multiple style */
1$(init);
2
3function init() {
4 $("h1").css("backgroundColor", "yellow");
5 $("#myParagraph").css({ "backgroundColor": "black", "color": "white" });
6 $(".bordered").css("border", "1px solid black");
7}