CSS
Cascading Style Sheets
Docs (opens in a new tab)
1. Intro
- CSS is the code that makes the HTML on the screen look cool.
- I was once told that if a website/app was a house, the HTML would be the wood frames that hold the structure of the house, CSS is the paint and JavaScript is the plumbing/electric. tbh that analogy is a little lacking. CSS is not just the paint for the HTML. the truth is that CSS is more like foreman or something.
- CSS describes how elements are rendered on the screen.
- CSS is more than just colors. CSS is also responsible for the layout, which includes making pages responsive (looking good on all screen sizes). CSS can also handle animations and interactivity 🤯. you can do a ton with just HTML & CSS and make things look awesome.