How can I get all CSS properties in jQuery?
.test
{
background-color:red;
color:white;
text-align:center;
font-weight:bold;
}
<div class="test" >
Hello how are you
</div>
document.write($('.test').css('color'));
The above code gives me only the color value, but I want to show each property.