Note

This post is a thought. It's a short note that I make about someone else's content online. Learn more about the process thoughts

Here's my thought on ๐Ÿ’ญ Wes Bos on X: "Are you using position: absolute; to overlap elements? It's almost always better to Use CSS Grid instead! https://t.co/hmpbExR88Q" / X


This is a pretty incredible use of css grid to overlay items overtop of each other without needing to resort to position: absolute and the side effects that it brings.


.wrap {
  display: grid;
  & > * {
    grid-row: 1;
    grid-column: 1;
  }
}

This post was a thought by Waylon Walker see all my thoughts at https://waylonwalker.com/thoughts