Premium Features

Download Video

Introduction to CSS

Published 3 years ago

CSS stands for Cascading Style Sheets, it's a language that determines how your HTML elements look on the screen (color, size, etc.).

In order to get started with CSS, you need either an index.html file in which you can add style tags to, or a separate .css file where style tags are not required:


Inside of these style tags, you can start writing in the CSS syntax. The most standard CSS type you'll use is called a class, an arbitrarily named identifier that can be added to multiple HTML elements for styling purposes.

A CSS class starts with a ., follows with a name, then opening and closing curly brackets:

.bg-red {


Inside of these curly brackets, you can begin writing CSS properties which determine how your element looks, and how it is positioned on the screen.

You'll learn a bit more about properties in the video and in the following code challenge. As we begin to learn about the most important properties and how they work, we'll continue building your base until you can develop a full, mobile-responsive website on your own.


Want to participate?

Create a free Chris Courses account to begin

dshhh posted 3 years ago
chris posted 3 years ago

Providing the lift to launch your development career

© 2024 Chris Courses. All rights reserved.