MDN Web Docs

Beginner's tutorials

Our learn web development core modules contain modern, up-to-date tutorials covering CSS fundamentals.

Your first website: Styling the content

This article provides a brief tour of what CSS is and how to use it, aimed at people who are completely new to web development.

CSS styling basics

This module provides all the CSS fundamentals you'll need to start learning the technology effectively, including syntax, features, and techniques.

CSS text styling

Here we look at CSS text fundamentals including setting font, boldness, italics, line and letter spacing, and drop shadows. We round off the module by looking at applying custom fonts to your page, and styling lists and links.

CSS layout

This module looks at floats, positioning, other modern layout tools, and building responsive designs that will adapt to different devices, screen sizes, and resolutions.

Guides

CSS guides are organized by modules and are there to help you learn what you can achieve using CSS. Browse the complete list at CSS guides, which includes topics such as:

How to

CSS layout cookbook

Recipes for common layout patterns you might need to implement in your sites. These recipes provide code you can use as a starting point in your projects. These recipes also highlight the different ways layout specifications can be used and the choices you can make as a developer.

Tools

Border-image generator

Generate CSS border-image values.

Border-radius generator

Generate CSS border-radius effects.

Box-shadow generator

Add box-shadow effects to your CSS objects.

Color format converter

Enter or pick a color and copy its corresponding value in any CSS color format.

Color mixer

Mix two colors in any color space using the color-mix() function and copy the resulting color in any CSS color format.

Shape generator

Define coordinates and syntax for <basic-shape> features.

You can also use the following resources:

Reference

Browse the complete CSS reference documentation.

CSS properties

Reference for all CSS properties.

CSS selectors

Reference for CSS selectors, combinators, pseudo-classes, and pseudo-elements.

CSS at-rules

Reference for CSS at-rules including media queries.

CSS values

Reference for CSS keywords, data types, and functions.

See also

Help improve MDN

Yes No

Learn how to contribute

This page was last modified on by MDN contributors.

Read the original on developer.mozilla.org ↗