we write rules for how the elements should be styled on our page. The syntax for these rules looks like this:
- Every rule begins with a selector, followed by curly brackets
{
}
.
- Inside, declarations are made of property:value
pairs separated by a colon. Each line ends with a ;
semicolon.
- You can add as many rules as you want to your CSS files! Some of your favorite web pages might have hundreds of CSS rules.