Menu
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP W3.CSS C C++ C# HOW TO BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS DSA TYPESCRIPT ANGULAR ANGULARJS GIT POSTGRESQL MONGODB ASP AI R GO KOTLIN SWIFT SASS VUE GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE INTRO TO PROGRAMMING INTRO TO HTML & CSS BASH RUST TOOLS

W3.CSS Tutorial

Learn W3.CSS

W3.CSS is a CSS framework for developing websites and web apps.

It provides equality for all browsers on all devices.

W3.CSS is free, open source, and uses standard CSS only.

Become W3.CSS Certified

Get certified with our W3.CSS exam, includes a professionally curated study kit to guide you from beginner to exam-ready.

CERTIFICATE OF COMPLETION This certifies that Your Name has passed the W3Schools W3.CSS Certification exam and is hereby declared a Certified W3.CSS Developer The candidate has passed the exam at the Professional level. Verify at verify.w3schools.com Stale Refsnes for w3schools.com

Build Modern Websites with W3.CSS

W3.CSS is a modern CSS framework for building responsive websites.

It is small, fast, easy to learn, and requires no JavaScript library.

Start Learning W3.CSS ❯

See What You Can Build

With a few W3.CSS classes you can create cards, responsive layouts, navigation, forms, galleries, dashboards, and complete websites.

Explore Cities

Discover three great European destinations.

London

Explore one of the world's great cities.

Paris

Discover art, food, and architecture.

Rome

Experience thousands of years of history.

Example

<div class="w3-grid">

<div class="w3-card w3-padding">
  <h2>London</h2>
  <p>Explore one of the world's great cities.</p>
  <button class="w3-button w3-black">Explore</button>
</div>

<div class="w3-card w3-padding">
  <h2>Paris</h2>
  <p>Discover art, food, and architecture.</p>
  <button class="w3-button w3-black">Explore</button>
</div>

<div class="w3-card w3-padding">
  <h2>Rome</h2>
  <p>Experience thousands of years of history.</p>
  <button class="w3-button w3-black">Explore</button>
</div>

</div>
Try it Yourself »

Why W3.CSS?

Easy to Learn

W3.CSS uses simple and meaningful class names.

You can create attractive results with very little code.

No JavaScript Library

W3.CSS is built with standard CSS and does not depend on jQuery or another JavaScript library.

Responsive

W3.CSS makes it easy to create layouts that work on desktops, tablets, and phones.

Modern Layout

W3.CSS supports modern CSS Flexbox and Grid layouts.


Modern CSS Made Simple

W3.CSS gives you ready-to-use classes for common web design tasks.

Cards

Create clean content boxes with shadows and spacing.

Flexbox

Arrange and align content in rows or columns.

Grid

Build responsive layouts with rows and columns.

You will learn all of these step by step in this tutorial.


Small Framework. Big Possibilities.

W3.CSS provides the tools needed to build modern websites without a large framework or extra JavaScript libraries.

You can use W3.CSS by itself or combine it with your own CSS or any other CSS.

W3.CSS is free to use.

No license is necessary.


Learn by Building

This tutorial teaches W3.CSS with practical examples.

You will learn how to build real user interfaces instead of only learning individual CSS classes.

1. Learn

Learn a simple W3.CSS feature.

2. Try

Edit the examples and see the result.

3. Build

Combine the classes to build real websites.

Start Learning W3.CSS ❯



W3.CSS Website Templates

W3.CSS can be used to create complete responsive websites.

W3Schools provides many free W3.CSS templates that you can edit and use.

Architect

Architect Template

View Template

Portfolio

Portfolio Template

View Template

Catering

Catering Template

View Template

See All W3.CSS Templates ❯


W3.CSS Crash Course

Already familiar with HTML and CSS?

Build a complete responsive website in the W3.CSS Crash Course.

Start the Crash Course ❯


Start Learning W3.CSS

W3.CSS is designed to be simple.

In the next chapter, you will see how to start using W3.CSS in your own HTML pages.

Start the Tutorial ❯


×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookies and privacy policy.

Copyright 1999-2026 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.

-->