💭 Wes Bos on X: "Are you using position: absolute; to overlap el...

Here's my thought on 💭 Wes Bos on X: "Are you using position: absolute; to overlap el...


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;
  }
}

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

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