Tuesday, March 14, 2017

There is no real cap for z-index.

This suggests 2147483647 might be a cap for 32-bit browsers and that 1677727 was a version 3 of Safari cap. Remember, the higher the z-index, the closer to the top the item is. overflow:hidden can give the false feeling that something is sitting over top of another something due to a z-index being higher when that is not the case. Even things floating with absolute positioning inside of divs with overflow:hidden get their wings clipped in this way.

No comments:

Post a Comment