正在加载视频...

视频加载失败

Tailwind devs: stop sleeping on container queries 😤

43,926 次观看 • 1 年前 •via X (Twitter)

10 条评论

Felix Chi 的头像
Felix Chi1 年前

I'm serious... how is this better than just learning CSS?

Ben Holmes 的头像
Ben Holmes1 年前

Tailwind has become a common lens that people see CSS through. I see a gap in teaching CSS through this lens, so I’m trying to fill it

Steve 的头像
Steve1 年前

Why did it take me so long to really click. 🤣 - Tailwind responsive classes are for the viewport. - Container queries are referencing the container you're putting the classes on, not the viewport.

Alfon 的头像
Alfon1 年前

Thats a nice squidward drawing

Brian Story 的头像
Brian Story1 年前

Man as a css vet tailwind kills me. I find it clunky to add so many classes. This is a cool concept though, would be useful if i wasnt burned out on tailwind.

Prasenjit 的头像
Prasenjit1 年前

Tailwind saved many of us. Will keep in mind about these tips Thanks for the share.

Ryan Leichty 的头像
Ryan Leichty1 年前

Been using them for a while now 💪 I love the syntax

Web Reaper | Website Engineer 的头像
Web Reaper | Website Engineer1 年前

Super easy to use and makes things more responsive? That right there is a good tip

Chase Giunta 的头像
Chase Giunta1 年前

Somewhat related: detect when flexbox children wrap

Wilson Hou 的头像
Wilson Hou1 年前

container queries having 90%+ browser support renews my faith in css then i look over at swift again and lose it all

相关视频