The way CSS works is actually fairly easy to understand. As long as you follow a couple simple syntax rules, you can acheive anything! (Almost).
Every Statement begins with a selector. It allows you to choose all of the HTML tags within a "p" tag for example. You can also select objects by other things. (More on this Later). After we define our selector then we use Declarations. These tell CSS what you want to do with what you selected.
Start every Declaration with a Property followed by a Value. Every Declaration than ends with a semi colon. CSS can be across mutiple lines too, actually it is encourged!