CSS Properties

The other part of CSS is the declarations.

A declaration is made up of a property and its value:

Annotated CSS declaration. Annotated CSS declaration.

We’ve already written some declarations when we were changing the colours of different elements!

There are lots of different CSS properties available, and we are going to use a few of them to improve your earlier website into something more structured like this:

Screenshot of completed webpage. Screenshot of completed webpage.

Let’s Get Started!

Ready to dive in and start building? Fork the template on CodePen to get started:

Fork the template on CodePen