CSS Properties

The other part to CSS is the declarations.

A declaration is made up of a property and it’s value:

Annotated CSS declaration. Annotated CSS declaration.

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

There are lots of different CSS properties available, and we are going to use a few of them to build the following webpage:

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