What You’ll Learn
- CSS syntax and selectors
- Colors, backgrounds, and borders
- Fonts and text styling
- Box model (margin, padding, borders)
- Flexbox and grid layouts
- Basic animations and transitions
CSS (Cascading Style Sheets) is what makes websites look beautiful. It controls colors, fonts, spacing, layouts, and animations, helping turn plain HTML into engaging designs. This page will guide you through the basics so you can style your own web pages.
Take your myfirstpage.html from the HTML exercise and add a styles.css file. Change the background color, text color, and font family. Link the CSS to your HTML file and refresh your browser to see the changes.