Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
azuredivay122722dis it the same effect though? many external lib's CSSes have hovering content at Z-10 or Z-20
at 2 you're risking random overlaps (been there) -
Lensflare1951922dz-index 999999 is the equivalent of kids fighting about who can come up with a bigger number
-
CoreFusionX349522dThe difference between your CSS and my CSS is that I don't engage in AIDS cancer- ahem, CSS
-
kiki3751622d@azuredivay I don't care about CSS libs. I do everything myself. All CSS libs suck and they're fucking ugly, except for one obscure React UI kit made by HP (of all people) that was deprecated around 7 years ago. It's a bummer that I can't use it because I quit doing react
-
TeachMeCode518821d@kiki not a fan of material! It caused too many problems and had to write more complex code than needed just to work around its issues
-
tosensei897219dit is not the same effect, because there always is something with a z-index: 5.
also: there's only one valid value:
z-index: 2147483647 !important -
TeachMeCode518819d@kiki if I see a z index of pi I would love to see the outer dimensional brain that came up with that and the calculations us dumb humans couldn’t grasp lol
-
hjk101559416dBloody hate the massive z index kids.
Only where you must indeed be 100% sure it must be highest on every page included there is a reason for going higher than 10.
That or some game/dynamic stuff that uses a lot of layers.
The difference between my CSS and your CSS is that you write z-index: 999999, and I write z-index: 2 to get the same effect.
random