正在加载视频...
视频加载失败
Is this a hack? What about stack order? Fine grain control? A few more tips on using CSS Grid instead of absolute positioning. I really like the named grid area one!
103,902 次观看 • 2 年前 •via X (Twitter)
9 条评论

FoozleBob2 年前
CSS grid areas are amazing! Can highly recommend that post:

Igor bedesqui2 年前
I love this so much, dom order is such an intuitive stacking model, no need to think about absolute creating a new "layer group"

Typzo2 年前
Grid for the win! Absolute positioning still has a space to live though

Gustav Ekerot2 年前
I want a little Wes avatar that pops up on my screen every time I reach for pos: absolute and remind me of this

Maxi1 年前
Made a quick prototype in UnoCSS

Nate MacInnes2 年前
Named grid FTW

JEM2 年前
great updates 👏 was fun to explore!

VirtualJester.x2 年前
Good follow up video Wes! Had a read on the grid and it seems there might be performance issues. Have you done a comparison of a grid page vs a normal div page?

Cosy Studios2 年前
@readwise save thread

