Does a negative z-index affect performance or compatibility?

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)
+1
html5 css3 canvas z-index webgl
source share
1 answer

I asked the question differently for the second time, and I got my answer, for more details: https://stackoverflow.com/a/416829/

0
source share

All Articles