Hello,
I have a DIV element that I want to get the background color of.
The background is not listed in the DIV's styles attribute, but it's instead a part of a CSS class the DIV is using.
<div class="wrapper" style="height: 30px;">
</div>
the wrapper.css is as follows:
.wrapper { background: #f2dcdb; }
I can't seem to find a way to look into the background attribute of the wrapper class. I can't seem to find a way.
Any help would be appreciated.
Thank you
I have a DIV element that I want to get the background color of.
The background is not listed in the DIV's styles attribute, but it's instead a part of a CSS class the DIV is using.
<div class="wrapper" style="height: 30px;">
</div>
the wrapper.css is as follows:
.wrapper { background: #f2dcdb; }
I can't seem to find a way to look into the background attribute of the wrapper class. I can't seem to find a way.
Any help would be appreciated.
Thank you