Easy fix for a very annoying z-index issue

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateWeb DesignUI7 min

About this video

Shows a quick CSS fix for an element whose z-index fails to keep it above others during a scale transition, first with a transition and then with an animation. Aimed at developers who already write CSS.

What you’ll learn

  • Fix a z-index overlap that appears during scale transitions
  • Apply the same fix using a CSS animation instead of a transition