Using CSS Container Queries with Tailwind CSS

preview_player
Показать описание
Container queries are (almost) here! Check out how to use them in Tailwind CSS 3.2.

Watch more videos on my brand new site:

- 0:00 – Intro
- 0:57 – ArticleCard with React props
- 10:15 – The problem with props
- 11:51 – ArticleCard with Container Queries
- 22:05 – Outro
Рекомендации по теме
Комментарии
Автор

Absolutely can't wait to see super responsive components with these in TailwindUI and other TailwindCSS "component libraries".

hhhhhhhhhhhhhhhhhhhhhh
Автор

Was watching Una's talk at Nextconf and thought I'd brush up on some new tailwind, who else to deliver quality content but uncle Sam!

mmmikem
Автор

+1 for being the first dev channel I’ve noticed that actually just says “braces” instead of “curly braces” (vs brackets or parenthesis) … that’s worth a subscribe 😂

dexter-wybo
Автор

so cutting edge Sam! and beautiful demo site

swyxTV
Автор

Absolutely amazing! Great presentation and super-excited to try container queries out as they're the solution to an issue we have at work! Thanks!

CraigKaminsky
Автор

Awesome explanation and great video production quality, looking great!

moonstar_connor
Автор

Glad I watched this before I started making my site responsive

kashnigahbaruda
Автор

Wow, i wished i learned this 3 months ago, nice!

Demonnof
Автор

This is amazing!!! Love the video, and great demo!

HeyNoah
Автор

This is fantastic! Thank you for the excellent explanation! Can't believe firefox is the one lacking support atm, lets hope it gets wide browser support soon! This changes everything

EvertJunior
Автор

Key takeaway for me is I gotta start using faker when building mockups.

jtrenda
Автор

Excellent video! Watched your next.js Conf talk too -enjoyed it a lot. You code like a breeze. Could you make a video on how you use Vim to code faster? I use vim too, but I'm not half as fast as you are.

benazirahmed
Автор

Container query will change how we used to do responsive design hope soon it will get available in all major browsers.
And also tailwind makes using container query so much easier.

_parassolanki
Автор

Love it. I wanted to ask you something. I love your videos and I know you are React developer but I wanted to get your opinion on Svelte

yash
Автор

More a brief moment,
I thought it was him
that was coming
as a new feature to the CSS.

greendsnow
Автор

hi sam! thanks for the video, what tool do you use to order classes within a ?

Binuralka
Автор

Hi Sam. It would be great if you could make a video how you never uses the mouse.
Even for calculation: 14:56 . this is really impressive.

Aaron-qyvb
Автор

Would you please also show your key presses on like bottom left hand side with something like keycastr so we can also learn vim variously through you? It would mean the world

SogMosee
Автор

Hi Sam, I love your channel. I have one question, sometimes when you describe specific layout component you've used a selection tool, it's very similar to capture a portion of screen but you can easy manipulate the selection. What is this tool ?

kamill
Автор

for conditionally rendering class names there’s an npm package called classNames it makes it super easy

atheerapeter
visit shbcf.ru