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
backgroundproperty - align text, using the
text-alignproperty, for example - select different widths on the page by using the
widthproperty and selecting the respective number, for example,max-width: 300pxif you want the max width to be 300 pixels. - border colour by using the
border-colourproperty
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)