Hacker News new | past | comments | ask | show | jobs | submit login

Then you have projects like bootstrap using z vals of 3000 etc.



Then someone gets fed up because they just want their item to be on top, dammit, so they can finish their jira task and move on. So they just type 9999 because that ought to beat all those other pesky z-indexes...


Wrap whatever they provide with position: relative, z-index: 1 and their 3000 index will not go over your 2 index.


The IAB has standard z-indexes in the millions: https://cravencode.com/post/essentials/iab-z-index-guideline...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: