DEV Community

loading...

Discussion on: Why you should stop z-index:9999

Collapse
fborges42 profile image
Fábio Borges Author

It really depends on what you're trying to do and the amount of components you need to develop but I agree with you that we shouldn't need 1000 index'es. My main attempt here was to show a cleaner way of doing it taking advantage of variables 😉
Thanks for the comment!

Forem Open with the Forem app