Box Model & px vs em vs rem

Today’s lesson is understanding the box model for CSS. Every p/div/section can be arranged as a box consisting of the content, padding, border and margin.

You use px for absolute values for size and space, em for relative size to the surrounding content and rem for relative size to root element.

Days since last Zero Day: 3 (5/9/20)