~/talk

New Ways Of Responsive Design in Tailwind CSS

Talkat Laracon India 2024 · 2024-03-23..03-24· [css, web-platform]
slides:none on file

Shows concrete Tailwind techniques: use max- prefixes to target only up to a breakpoint (replace mobile-only overrides), stack responsive variants for ranged breakpoints, and use arbitrary min/max pixel variants for one-offs. Demonstrates CSS columns for balanced testimonials and a small utility (a grid-auto-fit plugin) that emits repeat(autofit, minmax(16rem, 1fr)) so grids auto-fit columns. Covers Tailwind container queries via @container with named containers and advises using svh (not dvh) for stable full‑screen heroes to avoid jumpy scrolling.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:26About the speaker and projects
  3. 2:33Why CSS is hard and Tailwind’s role
  4. 3:34Beyond basic responsive variants
  5. 3:57Max width responsive variant
  6. 7:14Stacking responsive variants
  7. 9:02Arbitrary value variants
  8. 10:06Multi-column layouts with Tailwind
  9. 13:36Grid auto-fit plugin
  10. 18:12Container queries in Tailwind
  11. 23:47Nested container queries
  12. 25:35Dynamic viewport units
  13. 29:50Summary and closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.