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

!https://x.com/wesbos/status/1834242925401694490

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 #thoughts

Connections

Related tags and posts connected to this entry.