Z-index can either be your friend, or enemy

  • 0
    @Charon92 that's why I add a variable for every z-index I'm declaring in a _variables.scss . it may seem overly tedious, but it pays out when having to get the stacking of different elements right and to "stay on top of things"
  • 0
    @Atlas I have a mixin which does similar. It has normal, ontop, overlay, and behind. Found it easier to work with, certainly
Add Comment