Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Tailwind CSS From Scratch | Learn By Building Projects
Bestseller
Rating: 4.7 out of 5(5,281 ratings)
34,208 students

Tailwind CSS From Scratch | Learn By Building Projects

Build great looking layouts fast and efficiently using Tailwind CSS utility classes
Created byBrad Traversy
Last updated 7/2025
English

What you'll learn

  • Learn to create and edit layouts super fast
  • Learn the Tailwind utility classes using a code sandbox
  • Build 5 mini-projects and 6 website projects
  • Learn how to set up a dev environment using the Tailwind CLI
  • Configure your styles to create custom layouts

Course content

11 sections84 lectures12h 33m total length
  • Introduction2:57

    Master Tailwind CSS from scratch by building projects in a sandbox, then create real layouts—from pricing grids to landing pages—using Tailwind CLI and webpack setup.

  • Tailwind Version (Important)0:25
  • Course Outline & Projects6:03

    Explore Tailwind from scratch through a code sandbox and both mini and website projects. Learn color and typography classes, flexbox layouts, responsive design, and dark/light mode with local storage.

  • Project Links0:09
  • What Is Tailwind CSS?7:04

    Tailwind CSS is a utility-first framework that uses small, purpose-built classes to rapidly build custom, responsive UI, with comparisons to Bootstrap.

  • Basic Environment Setup6:18

    Set up a simple Tailwind development environment with HTML, CSS, and minimal JavaScript, using VS Code, Node.js, npm, and Git, plus recommended extensions like Live Server, Tailwind IntelliSense, and Emmet.

  • Tailwind Sandbox Setup3:52

    Explore Tailwind CSS through a practical sandbox setup, examining typography, layout, borders, and other class groups, while using a CDN-based setup, starter and done versions, and live server workflows.

Requirements

  • You should know the basics of CSS

Description

This is a fun project-based course to learn how to create awesome layouts using the Tailwind CSS framework and get comfortable using utility classes over something like Bootstrap, which uses component-based classes. Let's take a look at the outline for this course...


✔️ The Sandbox

I don't want to jump right into the projects, though you certainly could if you want. So the first two sections, we will be working in a coding sandbox. In every new video in these sections, we will have a new file to experiment with and learn all about a certain aspect of Tailwind. For example, we will have pages/videos for colors, typography, spacing, flex classes, and much more. This allows us to essential touch on all parts of Tailwind in a specific order, rather than just jumping right into projects.


✔️ Mini-Projects

Next, we will take what we learn in the sandbox environment and use it to create some small projects. These are things that will take 10 - 20 minutes to create and we will do it all in one video per project. The mini-projects include


  1. Email Subscribe Card

  2. Pricing Grids

  3. Product Modal

  4. Image Gallery

  5. Login Modal

I may even add more mini-projects later. These will help you get your feet wet by creating something.


✔️ Website Projects

Next, we will start to work on larger landing-page websites. This will really put what you learned to the test. There will be 6 different websites. They are all very modern and clean-looking. We partnered with Frontend Mentor for the designs. Some projects will have a bit of javaScript for things like hamburger menus, tabs, and some validation. Let's take a look at the projects.


Clipboard Website - Simple software product landing page. Focusing mostly on flexbox and alignment. Some background images, etc.

Loopstudios - VR company website with cool images, responsive mobile menu with some JavaScript, gradient overlay effects.

Shortly - Website for a link shortening tool. We will have a nice-looking responsive menu and add a little JavaScript for some form validation and working with the DOM.

Testimonial Grid - A project where we focus on using Tailwind's grid classes.

Fylo - Product page with a light/dark mode feature. We will add some JavaScript to save the color mode to local storage. We will also have a dynamic tab component for the FAQ.

Bookmark - Bookmark manager extension landing page. This website will have some dynamic background images, a hamburger menu and some tabs that will use JavaScript.


Who this course is for:

  • Anyone that wants to get better at creating website and UI layouts