Source: IAB Display Advertising Guidelines How big can z-index be anyway? The CSS specs do not mention an upper limit for z-index but there is a maximum value because of the type of variable used to store that value (a 32-bit signed integer); thus the limit in modern browsers is 2,147,483,647. Despite this, there are ad guidelines that recommend using 2,147,483,648. What happens when greater value