|
Back to CSScss Lesson 1

Introduction to CSS

Learn how to style your HTML documents.

What is CSS?

CSS stands for Cascading Style Sheets. It describes how HTML elements are to be displayed on screen, paper, or in other media.

Syntax

A CSS rule-set consists of a selector and a declaration block.

css
h1 {
  color: blue;
  font-size: 12px;
}

Try it yourself:

HTML
CSS
Result