DEV Community

Discussion on: How do you review CSS?

Collapse
 
loucyx profile image
Lou Cyx

As @codingjlu pointed out, is an a11y issue. If you want to put something in top of something else, you should be using the DOM order, not z-index. Is as bad as setting tabindex in HTML.

Thread Thread
 
thexdev profile image
M. Akbar Nugroho

Oh, thank you. I think I need do research about a11y and z-index