You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I feel like we use z-index everywhere and just add random number that works. It will eventually become very hard to debug or fix any styling as z-indexes being added on top of each other.
The goal is to managing z-index and avoiding magic numbers. It will make it easier for every team member to contribute and debug
Possible Implementation
My proposal is to go through all the z-indexes we have and group and give them meaningful names.
Perhaps something like this:
Description
I feel like we use z-index everywhere and just add random number that works. It will eventually become very hard to debug or fix any styling as z-indexes being added on top of each other.
The goal is to managing z-index and avoiding magic numbers. It will make it easier for every team member to contribute and debug
Possible Implementation
My proposal is to go through all the z-indexes we have and group and give them meaningful names.
Perhaps something like this:
Simple version
More advance if we want to go with
The text was updated successfully, but these errors were encountered: