Does negative z-index affect performance or compatibility?

夙愿已清 提交于 2019-12-11 12:47:12

问题


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:


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



来源:https://stackoverflow.com/questions/19770906/does-negative-z-index-affect-performance-or-compatibility

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!