CSS is a programming language used to style markup languages. It is commonly used with html to style and make websites look good. CSS stands for Cascading Style Sheets.
The way CSS works is that in your html file you insert a style tag in the head portion of your html file. You then put the tag of whatever you want to change inside. You then put these curly brackets {} next to it. Inside of the curly brackets you put the attribute you want to change. You then put a colon : then what you want to change it to then ; and you're done. You can put multiple attributes into what you want to change. You can also put multiple things you want to change.
Attribute | What it does | Example |
---|---|---|
background-color | changes the background color of something | background-color: red; |
color | changes the text color of all the text | color: #000000; |
font-family | Chooses the font family that all text will be written in. Can also add fallback font families. | font-family: monospace; |