I made a start on my CSS courses on freecodecamp. I am about 80% through!
Today I focused on learning CSS. CSS stands for Cascading Style Sheets and is used to style an HTML document. I learnt how to style different elements by adding different properties such as :
- background colours, using the
background
property - align text, using the
text-align
property, for example - select different widths on the page by using the
width
property and selecting the respective number, for example,max-width: 300px
if you want the max width to be 300 pixels. - border colour by using the
border-colour
property
CSS is so much more creative, it allowed me to see the different tweaks on the website to come to life!
After that, I explored different class selectors in order to change fonts, font styles and played around with the hover selector on links!
Top comments (0)