Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Tailwind: The Future of CSS is Here!

Tailwind: The Future of CSS is Here!

Can you write a beautiful, maintainable, and responsive web applications without a single line of CSS? With Tailwind, you can. Unlike the majority of CSS frameworks that give you prebuilt components, Tailwind provides you with low-level CSS utility classes that you can combine to create custom designs. The goal of this presentation is to help you understand the value proposition of the utility-first philosophy. We will have a look at:
- why utility-first CSS is the future
- how Tailwind makes building bespoke user interfaces a total breeze
- the benefits and challenges of the utility-first approach

Amadou Sall

April 23, 2021
Tweet

More Decks by Amadou Sall

Other Decks in Programming

Transcript

  1. AHASALL .my-button { padding: .5rem 1rem; border-width: 1px; border-color: transparent;

    border-radius: .375rem; color: #fff; font-size: .875rem; line-height: 1.25rem; font-weight: 500; background-color: #1413e9; cursor: pointer; } 8
  2. AHASALL The Silver Plan You can use prebuilt components from

    a component-oriented CSS framework 12
  3. AHASALL ✅ Very fast ✅ Very easy ✅ Very good

    ❌ Very monotonous ❌ Very rigid 15
  4. AHASALL Disclaimer This may seem like a terrible idea at

    first, but please be open-minded 19
  5. AHASALL The Tailwind Developer Experience™ You can stay in your

    HTML You can avoid naming things You can rapidly prototype You can refactor with confidence 29
  6. AHASALL The huge number of HTML classes can make your

    pull requests harder to review 32
  7. AHASALL ✅ A true design system ✅ Responsive to the

    core ✅ Highly customizable ✅ Extensible ✅ More performant ✅ Great developer experience ❌ Requires you to know CSS ❌ It’s verbose ❌ No components Summary