Menu
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP C C++ C# AWS W3.CSS 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 CYBERSECURITY DATA SCIENCE INTRO TO PROGRAMMING INTRO TO HTML & CSS BASH RUST TOOLS

W3.CSS Downloads

Share

Download W3.CSS

Download W3.CSS or link directly to the W3.CSS style sheet from your web pages.

Version 5

https:/edu/w3css/5/w3.css

Version 4 (Older Version)

https:/edu/w3css/4/w3.css

W3.CSS is free to use. No license is necessary.


How To Use W3.CSS

The easiest way to use W3.CSS is to link directly to the W3.CSS style sheet:

Example

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>My Web Page</title>
  <link rel="stylesheet" href="https:/edu/w3css/5/w3.css">
</head>
<body>

<!-- Page content -->

</body>
</html>
Try It Yourself »

Use a Local Copy

You can also download w3.css and store it with your own website.

If w3.css is in the same folder as your HTML file:

Example

<link rel="stylesheet" href="w3.css">

If w3.css is in a subfolder:

Example

<link rel="stylesheet" href="css/w3.css">

If w3.css is stored at the root of your website:

Example

<link rel="stylesheet" href="/w3.css">


Changelog

The changelog lists important changes to W3.CSS.

Version Date Description
5.01 03/2025 Added w3-grid
Added w3-flex
Added w3-text-center
Added w3-text-bold
Added w3-text-italic

Added new colors:
w3-paper, w3-asphalt, w3-crimson, w3-cobalt, w3-emerald, w3-olive, w3-taupe, w3-sienna

Added semantic color classes:
w3-success, w3-warning, w3-info, w3-danger, w3-note
4.15 12/2020 Added w3-sans-serif, w3-cursive, and w3-monospace to supplement w3-serif.
4.14 11/2020 Added w3-padding-top-64, w3-padding-top-48, w3-padding-top-32, and w3-padding-top-24.
4.1306/2019Adapted to minor changes in Normalize.css.
4.1211/2018Added w3-stretch.
4.1110/2018Added w3-auto. Changed margin:auto to margin-left:auto and margin-right:auto in w3-content.
4.1002/2018Added outline:0 to w3-bar-item in w3-bar and w3-bar-block.
4.0912/2017Removed outline:0 from buttons.
4.0810/2017Added z-index:1 to w3-dropdown-content.
4.0708/2017Added vertical-align:middle to images.
4.0608/2017Added version 3 color classes to borders, hoverable borders, and hoverable text.
4.0506/2017Added display:block to w3-responsive.
4.0404/2017Added float:none to w3-bar-item inside w3-bar-block.
4.0303/2017Corrected a minor bug in w3-col m3.
4.0203/2017Added version 3 text colors.
4.0103/2017Lightened the gray/grey color and fixed some border color errors.
4.002/2017Major version release.
3.001/2017Major version release.
2.002/2016Major version release.
1.005/2015First version of W3.CSS.

Customize W3.CSS

W3.CSS provides default styles for common HTML elements, including fonts, headings, and spacing.

You can customize these defaults by adding your own CSS after W3.CSS.

See the W3.CSS Defaults chapter for examples of changing the default styles.


Browser Consistency

W3.CSS includes styles that reduce differences between browser defaults.

This helps HTML elements display more consistently across modern browsers.


Free account

Track your progress

XP earned 0 Day streak 0 Spaces 0 League —

New

Learn in Adventure Mode W3Schools Adventure App

Coding fundamentals as bite-sized lessons and challenges.

×

Contact Sales

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

Report Error

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

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.