
Joey Z. answered 04/24/19
Frontend Web Developer experienced with HTML5, CSS, JavaScript
The max value of z-index has always been 2147483647 (max number on a 32 bit system). I believe your misunderstanding is that W3School's examples shows only up to a z-index of 4. But in practice, the min and max value of z index is -2147483648 - 2147483647.