How CSS rules work
What is CSS and what is it used for? The previous lesson answered this question. In this lesson, we will explore CSS selectors, properties, and values. What is the difference between these?
We'll cover the following...
CSS is a fun language, and it is quite easy to pick up.
Let’s take a look at a very basic CSS rule. By “rule” I mean a piece of CSS code.
Press + to interact
h1 {color: red;}
You may not have not noticed, but this basic css rule can be broken into a few bits.
The h1
...