CSS beginning

Introduction

I am learning about CSS from a course on freeCodeCamp called Learn CSS in 11 hours .

Below is a summary of the starting chapter.

General information

CSS is an achronym that stands for Cascading Style Sheets. It is a style sheet language that is used to describe the presentation of a document written in HTML and sometime other languages such as XML.

When thinking of the differences between HTML an CSS think of HTML as the foundation and think of CSS as the detail.

Most of the time when you are creating a CSS document you will apply it to a document.

When you are creating stylesheets or links to stylesheets keep in mind that the browser will apply the last style that it read over all of the ones that came before.

When you are writing CSS you need to use american english otherwise it will not function and it will be ignored. One way to check for these errors is to validate your document by using the CSS Validation Servise.




Basic CSS

Below is information on basic CSS aswell as an example

If you want to change the color of your text. You would put the name of the tag and then curly brachets. inide of the brachets you would put the color element and then type the name of the color that you wish to use.
Below is an example.

p {
color: navy;
}

The example shown above is used in this document. This is also called a CSS ruleset which is also referred to as a CSS rule.