Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rubatuga
· 5y ago · 0 comments
Then you have projects like bootstrap using z vals of 3000 etc.
Comments
[–]
names_are_hard
5y ago
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...
[–]
kflzufkrbzi
5y ago
Wrap whatever they provide with position: relative, z-index: 1 and their 3000 index will not go over your 2 index.
[–]
earthboundkid
5y ago
The IAB has standard z-indexes in the millions:
https://cravencode.com/post/essentials/iab-z-index-guideline...