Does the negative z-index have any side effects

I was looking for some time to answer my question:

Does the negative z-index have any side effects

And I already asked here: Does a negative z-index affect performance or compatibility? but he doesn’t get enough attention (maybe because I mixed things a bit)

And I wanted to try and ask differently.

I am developing a cross-platform web application (different browsers, devices), and sometimes I need to use a negative value for the z-index property, but I'm afraid that it can have any side effects of any / some browser and break compatibility.

Hope I posed the question clearly :)

+7
cross-browser html5 cross-platform css3
source share
1 answer

Negative values ​​are fine after Chrome 1.0, FireFox 3.0, IE 4.0, Opera 4.0, Safari 1.0. So basically, if you don't live in 2000, you should make good use of negative z-indexes. However, MDN does not have data for mobile devices, but I would suggest that in the specification, most mobile browsers will also be fine.

Browser support for negative z-index values ​​(CSS 2.1) according to MDN

+13
source share

All Articles