正在加载视频...

视频加载失败

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,877 次观看 • 1 年前 •via X (Twitter)

9 条评论

FoozleBob 的头像
FoozleBob1 年前

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

Igor bedesqui 的头像
Igor bedesqui1 年前

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

Typzo 的头像
Typzo1 年前

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

Gustav Ekerot 的头像
Gustav Ekerot1 年前

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

Maxi 的头像
Maxi1 年前

Made a quick prototype in UnoCSS

Nate MacInnes 的头像
Nate MacInnes1 年前

Named grid FTW

JEM 的头像
JEM1 年前

great updates 👏 was fun to explore!

VirtualJester.x 的头像
VirtualJester.x1 年前

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 Studios 的头像
Cosy Studios1 年前

@readwise save thread

相关视频