I have a web application where I need to show a 3D model using webGl in the background, and then show different things on top of it.
Everything works VERY fine in firefox , except for chrome , where I need to give the canvas a negative value for the z-index rule in CSS.
So, I would say that I need one of two things:
- If I fix this problem by pointing the negative z-index to the canvas, it will harm my application in any of the browsers (both on the desktop and on the mobile device).
- Can anyone suggest why it is not working in Chrome (perhaps from previous experience)
html5 css3 canvas z-index webgl
Abu romaïssae
source share