Allison is coding...

100 Days of Code: Day 44

Notes of 100 Days of Code: The Complete Python Pro Bootcamp.

Colours

Resource: named-color

background-color & color

Font properties

Font Size

  • 1px: 1/96th inch
  • 1pt: 1/72nd inch
  • 1em: 100% of parent
  • 1rem: 100% of root

Font Weight

  • Normal, bold: keywords
  • Lighter, bolder: relative to parent
  • Number: 100-900

Font Family

Resource: google fonts

Text Align

Resource: text-align

CSS Box Model

  • Margin: between elements
  • Padding: add space between the box and broader
  • Border