Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Sass based Z-index solution Reply To: Sass based Z-index solution

#175422
shaneisme
Participant

I’ve always used a layered approach myself, thinking of the base at 0, then a header above it, menu dropdown above that, and then modal at the tippy top.

Chris made a good article that provides a basis for this line of thought and I’ve since tweaked my variables to be close to this:

https://css-tricks.com/handling-z-index/