Overlapping Elements with CSS Grid
Written
        
      — Updated
        
    - Put the elements inside a CSS Grid container with one column and one row, then force the elements to all be at row 1, column 1.
 ABC DEF- Usually this will be done in the context of elements that are transitioning in and out on top of each other.