odin-default-css-exercises/margin-and-padding/margin-and-padding-2
Cody Loyd 78308edbfa update container class to avoid confusion 2021-10-04 14:17:01 -05:00
..
solution update container class to avoid confusion 2021-10-04 14:17:01 -05:00
README.md Fix punctuation and grammar in Margin and Padding READMEs 2021-10-04 10:02:55 -07:00
desired-outcome.png change folder structure 2021-08-18 15:35:18 -05:00
index.html update container class to avoid confusion 2021-10-04 14:17:01 -05: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 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.