Week 7: CSS
Coding is like Russian dolls. There is a big box containing smaller boxes, which has smaller boxes.
# is an ID. But you can only use it once. It’s good for stuff that only repeats once, such as the layout.
. is a class. You can repeat it many times. It’s good for stuff that repeats many times, such as smaller elements.
#container = wrapper = transparent box on the side to structure
50, 80, 50, 80
Left, top, right, bottom
“auto” = same on both sides
“margin: 0 auto” = just to position the container in the middle