Does negative z-index affect performance or compat

2019-08-12 23:37发布

I have a web application where I need to show a 3D model using webGl in the background then showing different stuff on top of it.

All is working VERY fine in firefox except in chrome where I need to give the canvas a negative value for the z-index rule in CSS.

So I would say I need one of two things:

  • If I fix this issue giving a negative z-index to the canvas, will this cause any harm on to my application in any of the browsers (in both desktop and mobile)
  • Could anybody guess why its not working in Chrome (perhaps from a previous experince)

1条回答
smile是对你的礼貌
2楼-- · 2019-08-13 00:18

I've asked the question differently a second time and I got my answer, for more details check out here: https://stackoverflow.com/a/19830934/1358670

查看更多
登录 后发表回答