On my website I have a webgl display of buildings, you can use the mouse to rotate the display and pan around. I then added a CSS animation of clouds, only when these clouds are in front of the webgl buildings it stops you from being about to use the mouse to rotate and pan. Is there a way of making it so the cloud divs aren't clickable or don't interfere with the webgl?
Give pointer-events:none;
to the css of the clouds.. so that the click events on the cloud are passed on to the object that lies under it..:)
Try adding this to your CSS:
.cloud {
pointer-events: none;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With