~/talk

Tailwind CSS by example

Talkat Laracon Online 2019 · on Wednesday, 2019-03-06· [css]
slides:none on file

Live demo builds a flight-search UI from scratch using Tailwind CSS (bleeding-edge 1.0) as a PostCSS plugin inside a Laravel Mix setup, composing utility classes for navbar, hero image, form card and responsive grid. Configuration shows custom color/alpha scales, responsive and state prefixes, and extracting repeated utilities with apply mixin into reusable classes. Initial generated CSS is ~421KB but a production build with purgecss shrinks it to ~4KB. The workflow proves fast and maintainable for prototypes and production-ready output while keeping styles tied to the design system.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 2:13What is Tailwind CSS
  3. 6:28Installing and configuring Tailwind
  4. 12:03Setting up base styles
  5. 15:53Adding background image
  6. 17:41Building the navigation bar
  7. 20:48Tailwind spacing and sizing scale
  8. 28:11Styling navigation links
  9. 32:18Customizing colors in Tailwind
  10. 40:23Creating the header section
  11. 44:16Building the form card
  12. 55:08Styling form fields and inputs
  13. 1:02:58Making the design responsive
  14. 1:06:06Adding hover and focus states
  15. 1:08:15Extracting reusable components
  16. 1:10:44Optimizing CSS output with PurgeCSS
  17. 1:12:34Q&A and closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.