Making a div and its contents transparent

Hi,

I am attempting to change the background of a div that contains a canvas, here is the code in Chrome inspection:

<div id="animation_container" style="background-color: rgb(255, 255, 255); width: 1045.88px; height: 700px; margin: auto !important;">
<canvas id="canvas" width="2091" height="1400" style="position: absolute; display: block; background-color: rgb(252, 252, 252); width: 1045.88px; height: 700px;"></canvas>
<div id="dom_overlay_container" style="pointer-events: none; overflow: hidden; width: 1045.88px; height: 700px; position: absolute; left: 0px; top: 0px; display: block;">
</div>
</div>

Basically I need to change the background-color to transparent in both sections, animation_container and canvas. Is there an easy way for me to patch this?

Thanks in advance.

Comments

Sign In or Register to comment.