3 ms·
Not a JS developer at all, what does a zIndex of 99999 do?
by rym_ 11y ago
Not a JS developer at all, what does a zIndex of 99999 do?
- SquareWheel 11y agoThis is actually CSS, not JS. z-index sets the layer of an element, so a higher z-index means that content will appear above other content.
- mentando 11y agoWell it is a very high zIndex, which of would force the element in the plane 99999. What it says about the developer though, is that he didn't bother reading up on, what is the highest value, but just chose a rather high value of 99999.
- adrianN 11y agoClearly he wanted to future-proof his code. Maybe in a while he'll need to display an even more important message.