Does 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 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