This question already has an answer here:
- Minimum and Maximum value of Z-INDEX 12 answers
Is there a maximum / minimum possible value for the CSS z-index
property?
Do different browsers have different maximum / minimum accepted values?
How will browsers handle a high / low value?
I thought I read somewhere once about a max z-index
value. Maybe I'm wrong.
Thanks in advance!
Incredibly, this is the chrome's max z-index value.
If you add one more digit it will go to
1e+308
These are the max values.
Found it somewhere on the web.
Found some newer information from 2012:
"Chrome, Opera and IE9 seem to be the only browsers supporting a true infinite value for the z-index, while Firefox is still using 2147483647 and Safari now engages in some strange rounding off behavior after a number exceeds 16 digits in length."
Here is the source: World War Z-index