Graphic Design · GPC-30

Modern Web Design with Tailwind CSS 4

Modern Web Design with Tailwind CSS 4 is a course in designing websites with the utility-first Tailwind CSS 4, from setting it up with Vite and CSS-first configuration with @theme to responsive layouts, container queries, dark mode and animation. It suits UX/UI designers and front-end developers, and you leave with a mobile-friendly landing page and admin dashboard.

Updated
From 3,150 THB / person 3,500 −10% excl. VAT 7% · group rates available
PDFDownload the course outline
  • Duration12 hours · 2 days
  • FormatOnsite / live online
  • Next roundOn request
  • CertificateIncluded

Course overview

Web design today has to look good, work on every screen size, load quickly and be easy for a team to keep editing. Writing all the CSS by hand often ends in long files nobody dares to touch, while component-based CSS frameworks make sites look alike and are hard to customise. That is why Tailwind CSS has become so popular: it gives designers full freedom through utility classes, with almost no hand-written CSS, and generates only the CSS that is actually used.

This course designs websites with the current Tailwind CSS 4. Learners set it up with Vite using @tailwindcss/vite and @import "tailwindcss", work with utility classes for spacing, typography, colour and layout with Flexbox and Grid, use state variants, build mobile-first responsive layouts and container queries, and create a landing page. The second day sets up design tokens the CSS-first way with @theme, creates custom utilities and variants, adds dark mode, transitions and animation, builds an admin dashboard template and organises components so a team can maintain them. It closes with building for production, upgrading projects from v3 and deploying online. (2 days, 6 hours per day, 12 hours in total, Beginner to Intermediate level.)

What you’ll gain

  • Understand the utility-first approach and what is new in Tailwind CSS 4
  • Install Tailwind CSS 4 with Vite and work fluently with VS Code IntelliSense
  • Design pages with utility classes and state variants
  • Build mobile-first responsive layouts and use container queries
  • Configure a theme the CSS-first way with @theme, @utility and @custom-variant
  • Add dark mode, transitions and animation
  • Build a landing page and an admin dashboard template and deploy them

Who this course is for

  • Anyone who wants to design websites with Tailwind CSS from the start
  • UX/UI designers who want to turn their designs into real web pages themselves
  • Front-end developers on Bootstrap or Tailwind CSS v3 who want to move to v4
  • Developers who need to make back-office pages or dashboards look good quickly
  • General learners with a basic knowledge of HTML and CSS

Prerequisites

  • Basic HTML and CSS, such as the box model and Flexbox
  • Basic command-line skills, such as opening a terminal and running npm commands
  • A laptop that can run Node.js 20 or later and VS Code, with permission to install software
  • No previous experience with a CSS framework is needed

Curriculum

Course Details

This course is the 2026 edition of the previous Modern Web Design with Tailwind CSS 4.0 course, updated for the latest Tailwind CSS 4 release. It runs for 2 days, 6 hours per day (12 hours in total, 09:00-16:00), as lectures with labs and workshops that build a landing page and an admin dashboard template. Beginner to Intermediate level. This edition adds container queries, @utility, @custom-variant, dark mode, organising components for teams, and upgrading projects from v3 with the official tool. It builds on basic HTML and CSS, such as Basic HTML+CSS, so it does not repeat CSS fundamentals. Learners take home a lab guide, starter files and solution code for both projects.

Day 1 Tailwind CSS 4 Fundamentals and a Landing Page

Section 1: Lab: Getting to Know and Installing Tailwind CSS 4

  • The utility-first approach compared with hand-written CSS and component frameworks
  • What is new in Tailwind CSS 4: a new engine, automatic source detection and CSS-first configuration
  • Create a project with Vite and install @tailwindcss/vite
  • @import "tailwindcss" and VS Code with IntelliSense and Prettier
  • Lab: a first page styled with utility classes

Section 2: Everyday Utility Classes

  • Spacing, width, height and size-*
  • Typography: size, weight, line height and Thai fonts
  • Colours from the OKLCH palette and opacity modifiers
  • Borders, radius, shadows and backgrounds
  • Lab: product cards and a range of buttons

Section 3: Lab: Layout with Flexbox and Grid

  • flex, justify, items and gap
  • grid-cols-*, col-span-* and flexible grids
  • Content-width containers and centring
  • position, inset and z-index for headers and overlays
  • Lab: a page skeleton with header, content and footer

Section 4: State Variants and Responsive Design

  • hover, focus-visible, active and disabled
  • group, peer and has-* for styling based on other elements' state
  • Mobile-first breakpoints from sm to 2xl, and max-* for screen ranges
  • Adding your own breakpoints with --breakpoint-* in @theme
  • Container queries with @container and the built-in @sm and @md variants

Section 5: Workshop: A Responsive Landing Page

  • Prepare resources and lay out the page from a wireframe
  • Navigation with a mobile menu
  • Hero, feature, testimonial and pricing sections
  • Footer, and testing on phones, tablets and large screens
  • A basic accessibility check with Lighthouse
Day 2 Themes, Motion and an Admin Dashboard

Section 6: Lab: CSS-first Configuration

  • Define brand colours, fonts and spacing with @theme
  • Theme variables become CSS variables you can reuse anywhere
  • Custom utilities with @utility and custom variants with @custom-variant
  • @source, @plugin and using @apply in moderation
  • Lab: design tokens for a sample brand in a single CSS file

Section 7: Dark Mode, Transitions and Animation

  • Dark mode from prefers-color-scheme or a toggle with @custom-variant
  • transition, duration, ease and delay
  • Built-in animations, and your own @keyframes in @theme
  • 2D and 3D transforms, and starting: for popovers and dialogs
  • Respecting users with motion-reduce and motion-safe

Section 8: Workshop: An Admin Dashboard Template

  • Login, register and forgot password pages
  • A collapsible sidebar and top navigation
  • Summary cards, data tables and data management forms
  • Making the dashboard usable on phones
  • Enabling dark mode across the whole template

Section 9: Organising Components a Team Can Maintain

  • Reducing repetition with partials or framework components rather than @apply
  • Sorting classes automatically with the Prettier plugin
  • The official @tailwindcss/typography and @tailwindcss/forms plugins
  • Using an AI assistant to draft screens in Tailwind, and checking accessibility yourself
  • Approaches for using it with Laravel, Vue, React or Angular

Section 10: Lab: Build, Upgrade and Deploy

  • Building for production and checking the CSS file size
  • Upgrading a v3 project to v4 with npx @tailwindcss/upgrade
  • Browser requirements for v4, and options when older browsers must be supported
  • Deploying to GitHub Pages or Netlify
  • Presenting the work and planning next steps

Schedule & training options

For individuals — public rounds

No public rounds are open right now. Join the waiting list and we will contact you first when the next round opens, or ask us on LINE. Or call 02-570-8449 or 088-807-9770

For organisations — in-house / private

  • Tailor the content to your team’s tools and projects
  • Your dates, at your office or live online
  • Quotation with tax ID for procurement
Corporate training quote

Instructors

Frequently asked questions

How is Tailwind CSS 4 different from earlier versions?

Tailwind CSS 4 has a new engine that builds much faster and moves to CSS-first configuration: you start with @import "tailwindcss" in your CSS file and define colours, fonts and breakpoints inside @theme instead of tailwind.config.js. Those values become CSS variables you can reuse directly, source files are detected automatically, and container queries are built in without an extra plugin. Minor 4.x releases continue to add new utilities.

How do you build a responsive website with Tailwind CSS?

Tailwind is mobile first: unprefixed classes apply at every screen size, while prefixes such as md: or lg: take effect from that width upwards. Design the phone layout first and add larger-screen changes, for example grid-cols-1 md:grid-cols-3. Use max-md: for styles that apply only below a breakpoint, add your own breakpoints with --breakpoint-* variables in @theme, and use @container when a component should adapt to its own space.

What sections make up a landing page?

A typical landing page starts with navigation, followed by a hero section that states the main offer with a call-to-action button, a features section summarising key points, a testimonials or showcase section, a pricing or plans section, and a footer with contact links. Every section should display well on phones. This course builds each one with Tailwind CSS 4.

Who is Modern Web Design with Tailwind CSS 4 for, and what should I know beforehand?

It suits UX/UI designers, front-end developers, people currently using Bootstrap or Tailwind v3, and general learners who want to design websites with Tailwind CSS. You should be able to write basic HTML and CSS and run npm commands in a terminal. No previous experience with Tailwind CSS or any CSS framework is needed.

What will I be able to do after Modern Web Design with Tailwind CSS 4?

You will be able to design responsive sites fluently with Tailwind CSS 4, use container queries, set up a brand theme with @theme, add dark mode, transitions and animation, build a landing page and an admin dashboard template with login, register and sidebar, upgrade projects from v3, and deploy to GitHub Pages or Netlify yourself.

Which tools are used on Modern Web Design with Tailwind CSS 4?

You write code in VS Code with Tailwind CSS IntelliSense and Prettier, use Node.js and Vite to create projects, install Tailwind CSS 4 through @tailwindcss/vite, and practise publishing on GitHub Pages or Netlify. All of these tools are open source or free.

Related articles

Articles are published in Thai.