We may earn an affiliate commission when you visit our partners.
Course image
Udemy logo

Tailwind CSS Fundamentals

David Morales

You will learn about Tailwind CSS, the CSS framework that is changing how you work with CSS. You will discover and experience what makes it different from others.

Read more

You will learn about Tailwind CSS, the CSS framework that is changing how you work with CSS. You will discover and experience what makes it different from others.

This course will save you the work of study and research, and you will learn the basics from scratch to build any website you set your mind to.

Learn how to use Tailwind CSS in this comprehensive course.

  • Adapt the page to different screen sizes (responsive design)

  • Apply CSS states

  • Design a dark mode

  • Reuse your styles (don't repeat yourself principle)

  • Learn how to install and use plugins

You will build a landing page for a Netflix-like website using the Tailwind CSS utility classes as a course project. You will improve and complete it step by step.

Course overview:

  • You will see all the ways to install and configure Tailwind CSS, including ways to make quick prototypes.

  • Configuring Visual Studio Code, and I will show you the plugins I use to work comfortably.

  • Installing Tailwind CSS and its dependencies, getting everything ready to start working.

  • Building a Netflix-like landing page with a mobile-first approach.

  • Adapting the page to different screen sizes, known as responsive design.

  • Adding CSS states, such as when you hover the mouse over a button.

  • Configuring your page with an automatic dark mode.

  • Creating custom classes that you can reuse, to avoid repeating code.

You will also control the official Tailwind CSS plugins:

  • Typography: to style texts (for example, those coming from a database).

  • Forms: for styling forms

  • Line-Clamp : to limit text and achieve visual harmony (now built-in)

In addition:

  • After each module of lessons, you will take a quiz to check that you haven't missed anything important.

  • The course is alive, and I will add more bonus content regularly. You also have access to the repository where I publish the pages' source code.

With this course you will have a good foundation to build any page you set your mind to, with clear and practical lessons.

If you haven't decided yet, you can watch for free some lessons.

And of course, if you have any questions, you can post them in the questions and answers section, where I will answer them.

See you inside.

Enroll now

What's inside

Learning objectives

  • Install and configure the ideal environment for working with tailwind css
  • Build a landing page from scratch, following the latest standards of web development
  • Adapt the page to different screen sizes (responsive design)
  • Apply css states
  • Implement an automatic dark mode
  • Reuse classes (don't repeat yourself principle)
  • Use the first-party tailwind css plugins

Syllabus

What is Tailwind CSS, why was it created, what are its uses and the course content.

Welcome to the first lesson!

Let's see what Tailwind CSS is and what its advantages are.

I will also give you a summary of what you will learn in the course.

Read more
Learn how to use Tailwind CSS in a variety of ways for rapid prototyping.

For rapid prototyping, you don't need to install anything. There are two ways to use Tailwind CSS directly: through the playground on their website, or if you prefer to use your code editor you can use the CDN.

Tailwind Play is a code editor on the Tailwind CSS website itself, with the framework and plugins preloaded, so you can easily start prototyping anywhere. In this lesson I show you how to use it.

If you prefer to use your code editor, the fastest and most direct way to use Tailwind CSS is to use the CDN. In this lesson you will see how to move the code you implemented in the playground to the code editor.

How to install and configure Tailwind CSS, its dependencies and the code editor.

There are several ways to install and use Tailwind CSS. In this section we will look at each of them, as well as support in code editors and how to configure them.

If your project does not need Node, the most appropriate way to integrate Tailwind CSS is with the Standalone CLI: an executable file that includes the complete framework. We will see how to install and use it, retrieving the HTML file you used in the previous section.

All other ways of using Tailwind CSS need Node installed. Therefore, in this lesson we are going to see how to install it for each operating system.

The standard way to install and use Tailwind CSS is through the Tailwind CLI. Let's see how to install it, configure it and an example of use.

If your project uses frontend tools like webpack or vite, the most appropriate way to integrate Tailwind CSS is as a PostCSS plugin. After the installation and configuration, we will retrieve the HTML file from the previous lesson to test that everything works correctly.

In the Tailwind CSS documentation you have guides at your disposal to integrate it with various frameworks. Let's see as an example how to use it with React.

The most commonly used code editor with Tailwind CSS is Visual Studio Code. In this lesson I show you some extensions that we will use throughout the course.

In this lesson I show you how to configure and use Tailwind CSS in JetBrains IDE and SublimeText.

Basic configuration quiz
Build a landing page, similar to Netflix, using the most important features of Tailwind CSS.

In this video you will see a summary of the page we are going to build from scratch. From the mobile version to the one that adapts to other screen sizes, improving usability, using dark mode, and reusing classes in repeating components.

Before we start, let's install and configure Tailwind CSS in our mini-project.

The base version will be for the smallest screen size: that of a mobile phone. This design will have the elements stacked, to accommodate a vertical screen configuration.

We will adapt the page to other larger screen sizes, making use of pseudo-classes, which work like CSS media queries.

We will improve usability by applying CSS states to the button, using pseudo-classes, which work like CSS media queries.

When the dark mode is enabled, we have the dark pseudo-class to adapt what we need. In our case we will adapt the colors.

There are components that are reused in other parts of the project, and have exactly the same classes. For this we can create a custom class, just as we would with standard CSS, but using Tailwind CSS utility classes.

Tailwind CSS general knowledge quiz
Know how to install, configuration and main usage of the official Tailwind CSS plugins.

In addition to the functionality of the utility classes, Tailwind CSS supports plugins, and the framework developers developed a few official ones.

This section will look at the most important ones and apply them to the project.

The Typography plugin automatically styles the text in a container.

I'll show you how to install it and customize styles.

You will apply this to a marketing text, which we assume comes from a database.

In addition, the plugin defines default colors for the dark mode. You'll see how easy it is.

Just by installing the Forms plugin, your forms will look much better.

However, these are default styles, and it is best to customize them.

In this lesson, I have added a registration form at the bottom of the page. You will start with the plugin's default styles, and you will change them so that it is well integrated.

For this lesson, we will build a list of featured movies and series.

Each one has a vertical image, but on mobile we will use media queries to display them horizontally, to save space.

With the Aspect Ratio utility you will be able to define the aspect ratio for the screen size you want.

Imagine that one day you see that the synopses are longer, and your design breaks down. The text sticks out from underneath and everything looks terrible.

We will simulate this problem and you will solve it with the Line Clamp utility, which is used to set a limit on any text. You will use it to limit synopses.

This way you will protect your design.

Quiz on official Tailwind CSS plugins
What to do after getting to know the framework. A look at the advanced concepts of Tailwind CSS and other features worth checking out.

At this point, you will be able to build any page you want. But the framework offers more.

In this lesson, I show you the documentation features that I recommend you consult at this point for further information and consolidate your knowledge.

Congratulations! You have finished the course, and now you know how to use Tailwind CSS and its plugins.

In this last lesson, I recommend what to do now to use what you have learned.

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Teaches the basics of Tailwind CSS to build websites
Provides a comprehensive overview of the framework's features and capabilities
Suitable for beginners looking to learn Tailwind CSS from scratch
Offers a project-based approach to learning
Covers a wide range of topics, including responsive design and CSS states
Taught by David Morales, who is an experienced web developer and instructor

Save this course

Save Tailwind CSS Fundamentals to your list so you can find it easily later:
Save

Activities

Coming soon We're preparing activities for Tailwind CSS Fundamentals. These are activities you can do either before, during, or after a course.

Career center

Learners who complete Tailwind CSS Fundamentals will develop knowledge and skills that may be useful to these careers:
UI/UX Designer
As a UI/UX Designer, you will focus on the user experience and interface of websites and applications. Tailwind CSS Fundamentals will equip you with the knowledge to leverage Tailwind CSS utility classes effectively, allowing you to create intuitive and visually appealing user interfaces that enhance the user experience.
Web Developer
As a Web Developer, you will combine design, development, and maintenance for websites and applications. Tailwind CSS Fundamentals will provide you with the practical skills to implement Tailwind CSS and its plugins, enabling you to build dynamic, responsive websites that meet user expectations.
Interaction Designer
As an Interaction Designer, you will design and prototype the interactive elements of websites and applications. Tailwind CSS Fundamentals will provide you with practical knowledge of how to use Tailwind CSS to create interactive and user-friendly interfaces, enhancing your design capabilities.
Front-End Developer
As a Front-End Developer, you will create the graphical user interface for websites and applications. Tailwind CSS Fundamentals will help you build a strong foundation in the popular Tailwind CSS framework, empowering you to design and develop user-friendly, visually appealing interfaces with ease.
Freelance Web Designer
As a Freelance Web Designer, you will provide web design services to clients independently. Tailwind CSS Fundamentals will equip you with the skills to create customized, visually appealing websites efficiently using Tailwind CSS, enhancing your freelance offerings.
Full-Stack Developer
As a Full-Stack Developer, you will work on both the front-end and back-end aspects of website and application development. Tailwind CSS Fundamentals will provide you with a strong foundation in front-end development using Tailwind CSS, complementing your overall full-stack skillset.
UX Researcher
As a UX Researcher, you will conduct user research to understand their behavior, needs, and motivations. Tailwind CSS Fundamentals may be useful in understanding how CSS frameworks can support the implementation of user-centered design principles in website and application development.
Product Designer
As a Product Designer, you will focus on the overall user experience and design of digital products. Tailwind CSS Fundamentals may be helpful in understanding the technical aspects of front-end development and how CSS frameworks like Tailwind CSS can support your design decisions.
Teacher
As a Teacher, you will educate and guide students in various subjects. Tailwind CSS Fundamentals may be helpful for teachers specializing in web design or computer science, providing them with practical knowledge of CSS frameworks that they can share with their students.
Software Engineer
As a Software Engineer, you will design, develop, and maintain software systems. Tailwind CSS Fundamentals may be useful in building the front-end components of software applications, providing you with a practical understanding of how to integrate a CSS framework into your development workflow.
Technical Writer
As a Technical Writer, you will create documentation, manuals, and other written materials explaining complex technical concepts. Tailwind CSS Fundamentals may be useful in understanding the technical aspects of CSS frameworks, enabling you to effectively communicate their functionality and usage in your documentation.
Instructional Designer
As an Instructional Designer, you will create and develop educational materials and resources. Tailwind CSS Fundamentals may be helpful in gaining a better understanding of how CSS frameworks can enhance the visual design and user experience of online learning materials.
Data Scientist
As a Data Scientist, you will use data to solve business problems and make predictions. Tailwind CSS Fundamentals may be useful in understanding how to present data visually, as CSS frameworks like Tailwind CSS can be used to create dashboards and other data visualization tools.
Animator
As an Animator, you will create visual effects and animations for various media. Tailwind CSS Fundamentals may be useful in understanding how CSS frameworks can be used to style and position animated elements, complementing your animation skillset.
Graphic designer
As a Graphic Designer, you will create visual concepts and designs for a variety of media. Tailwind CSS Fundamentals may be helpful in gaining a better understanding of CSS principles and how they can be applied to web design, expanding your skillset as a visual designer.

Reading list

We've selected nine books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Tailwind CSS Fundamentals.
Provides a comprehensive guide to CSS, covering everything from the basics to advanced topics like flexbox and grid.
Provides a comprehensive guide to web development, covering everything from the basics to advanced topics like SEO and social media marketing.
Provides a collection of CSS secrets and techniques, perfect for intermediate and advanced web developers.
Provides a comprehensive overview of Node.js, including how to use Node.js to create web servers and web applications, and how to use Node.js to work with databases and other external resources.
Provides an in-depth look at CSS, including advanced topics such as writing CSS for different devices and screen sizes, and using CSS to create animations and transitions.
Provides an in-depth look at CSS, including topics such as CSS selectors, CSS layout, and CSS animations.
Provides a fun and engaging introduction to HTML and CSS, perfect for beginners with no prior experience in web design.
Provides a comprehensive overview of JavaScript, including how to use JavaScript to create web pages and web applications, and how to use JavaScript to manipulate the DOM.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Tailwind CSS Fundamentals.
Tailwind CSS : A Modern Way To Build Websites Using CSS
Most relevant
Tailwind CSS From Scratch | Learn By Building Projects
Most relevant
Next.js Projects - 5 NextJS 14 projects (Instagram,...
Most relevant
Next.js by Example
Most relevant
TypeScript & Next.js 14: Building a Tech Ticketing App
Most relevant
Web Design Responsive Website Template from Scratch HTML...
Build Responsive Real-World Websites with HTML and CSS
Learn HTML and CSS together for Beginners
Build a product splash page with HTML and CSS
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser