Part 2: CSS Basics

John Caserta edited this page Feb 16, 2018 · 3 revisions

What we'll cover

  • Calling CSS: external vs internal vs inline
  • Units (px, em, rem, %, vh, )
  • Box model: width, padding, margin, box-sizing
  • Border using four sides (top, right, bottom, left)
  • Color (rgba)

Exercise: Add CSS to HTML

Duplicate your first exercise and add internal styles to it. How might you call out certain content? Commit and sync to the repository.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.