add style attribute div jquery code example
Example 1: jquery set style property
$("selector").css("property", "value");
// Example:
$("div").css("background-color", "red");
Example 2: jquery modify style attribute
$('#yourElement').css('display', 'none');