About This Title

Pages: 90
Published: April 2021
ISBN: 9781680508185
Edition: 1
In Beta

Skill Level Meter

Modern CSS with Tailwind

Flexible Styling without the Fuss

by Noel Rappin

Tailwind CSS is an exciting new CSS framework that allows you to design your site by composing simple utility classes to create complex effects. With Tailwind, you can style your text, move your items on the page, design complex page layouts, and adapt your design for devices from a phone to a wide-screen monitor. With this book, you’ll learn how to use the Tailwind for its flexibility and its consistency, from the smallest detail of your typography to the entire design of your site.

eBook Formats:

  • PDF for desktop/tablets

  • epub for Apple Books, e-readers

  • mobi for Kindle readers

Get all eBook formats here for $18.95 (USD)

Add to Cart we accept visa, mastercard, amex, discover, paypal

This book is in Beta, final version expected Apr 2021

Beta Books: What do I get?


With CSS, you can do amazing things to the basic text and images on your website, and with just a little bit of client-side code to add and remove CSS classes, you can do exponentially more. CSS can also be hard to debug, complicated to write, and hard to maintain—but it doesn’t have to be. With Tailwind, you can minimize the amount of CSS you need to write, making it easier to control and debug, and yet still enjoy full flexibility and consistency across your site. Use Tailwind to build complex page layouts, add responsive design that adjusts to different screen widths, and dramatically reduce the amount of CSS you need.

The Tailwind setup is extremely explicit, and makes it possible to understand the display just by looking at the HTML markup. Start by designing the typographic details of the individual elements, then placing and manipulating those elements in “the box”—the rectangle of space each element takes up on screen—using a flexbox or grid design. Move those elements around the page with helpful small animations and transitions. With Tailwind, it’s easy to prototype, iterate, and customize your display. Use prefixes to specify behavior. Change defaults, add new behavior, or integrate with legacy CSS.

Use Tailwind to make extraordinary web designs without extraordinary effort.

What You Need

This book is about Tailwind 2.0. You need to be able to install Ruby on Rails to run the sample app.

Resources

Releases:

  • B3.0 2021/03/03
  • B2.0 2021/02/09
  • B1.0 2021/01/24

Contents & Extracts

Note: Contents and extracts of beta books will change as the book is developed.

  • Introduction
    • Why Tailwind?
    • About This Book
    • Who This Book Is For
    • Running the Sample App
  • Getting Started with Tailwind
    • Installing Tailwind
    • Quick Start
  • Tailwind Basics excerpt
    • Utilities
    • Preflight
    • Duplication
    • Prefixes
    • CSS Units
  • Typography
    • Size and Shape
    • Color and Opacity
    • Alignment and Spacing
    • Lists
    • Typography Plugin
    • Tailwind Forms
  • The Box
    • Can You See the Box?
    • What’s In the Box?
    • Padding and Margin
    • Borders
    • Background Color
    • Background Images
    • Height and Width
  • Page Layout
    • Containers
    • Floats and Clears
    • Position and Z-Index
    • Tables
    • Grids
    • Flexbox
    • Box Alignment
  • Animation
    • Helpful Small Animations
    • Transitions excerpt
    • Transformation
    • Other Appearance Things
  • Responsive Design
    • Tailwind Screen Widths and Breakpoints
    • Hide Based on Size
    • Fewer Grid Columns on Small
    • Flex as Larger
  • Customizing Tailwind
    • Configuration File Basics
    • Change Default Values
    • Change Generated Classes
    • Configure Variant Prefixes
    • Integrate with Existing CSS
    • Access Tailwind from JavaScript
    • Purge CSS
    • The End

Author

Noel Rappin is a Staff Engineer at Root Insurance. Noel has authored multiple technical books, including Modern Front End Development For Rails and Rails 5 Test Prescriptions. He also hosted the podcast Tech Done Right. Follow Noel on Twitter at @noelrap and online at noelrappin.com.

eBook Formats:

  • PDF for desktop/tablets

  • epub for Apple Books, e-readers

  • mobi for Kindle readers

Get all eBook formats here for $18.95 (USD)

Add to Cart we accept visa, mastercard, amex, discover, paypal

This book is in Beta, final version expected Apr 2021

Beta Books: What do I get?

Related Titles:

Skill Level Meter

About This Title

Pages: 90
Published: April 2021
ISBN: 9781680508185
Edition: 1
In Beta