Specify the class or id and add style as follows:
For single style:
$(‘.container’).css(‘height’, ’10px’);
For multiple style for a div:
$(‘.container’).css({‘font-size’ : ’10px’, ‘width’ : ’30px’, ‘height’ : ’10px’});
Specify the class or id and add style as follows:
For single style:
$(‘.container’).css(‘height’, ’10px’);
For multiple style for a div:
$(‘.container’).css({‘font-size’ : ’10px’, ‘width’ : ’30px’, ‘height’ : ’10px’});