odin-default-css-exercises/margin-and-padding/margin-and-padding-2
ZebraMilk 04bf4da6d1 Add indents to <body> and <head> tags in all exercises 2022-01-30 12:16:13 -06:00
..
solution Add indents to <body> and <head> tags in all exercises 2022-01-30 12:16:13 -06:00
README.md fixing typo 2021-12-14 18:52:09 +03:00
desired-outcome.png change folder structure 2021-08-18 15:35:18 -05:00
index.html Add indents to <body> and <head> tags in all exercises 2022-01-30 12:16:13 -06:00
style.css update container class to avoid confusion 2021-10-04 14:17:01 -05:00

README.md

Margin and Padding #2

This one is a little nicer looking, and a little closer to something you might see in the real world. You'll need to change a little more than just margin and padding to make it look exactly right.

Desired outcome

desired outcome

Self Check

Use this section to check your work. On these projects, your goal isn't to attain 100% pixel perfection, but to use the tools you've learned to get relatively close to the desired output.

  • There is 8px between the edge of the card and its content (the blue sections).
  • There is an 8px gap between each of the blue sections inside the card.
  • The title of the card uses a 16px font.
  • There are 8px between the title text and the edge of the title section.
  • The content section has 16px space on the top and bottom, and 8px on either side.
  • Everything inside the .button-container section is centered, and there is 8px padding.
  • The Big Button is centered on its own line.
  • The Big Button has 24px space on the sides, and 8px on top and bottom.