odin-css-exercises/flex/06-flex-layout
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
desired-outcome.png rename directories 2021-08-24 12:22:46 -05:00
index.html Add indents to <body> and <head> tags in all exercises 2022-01-30 12:16:13 -06:00
logo.png rename directories 2021-08-24 12:22:46 -05:00
README.md Change wording from underscore to underline 2022-01-22 16:38:54 +01:00
style.css rename directories 2021-08-24 12:22:46 -05:00

An entire page!

Flexbox is useful for laying out entire pages as well as the smaller components we've already been working with. For this exercise, we're leaving you with a little more work to do, with some things you may not have encountered yet. It's perfectly acceptable to google things you're unsure of!

Hints

  • You may want to search something like CSS remove list bullets. We've done this for you in previous examples, but not here. Yay learning.
  • Finding out how to style links in CSS might help you get rid of that pesky underline decoration...
  • We've added height: 100vh to the body... this makes the body exactly the same height as the viewport. To stick the footer to the bottom you will need to use flex and change the direction to column.

Desired Outcome

desired outcome

Self Check

  • The header is at the top of the page, the footer is at the bottom, and they stay in place if you resize your screen.
  • The header and footer have padding.
  • The links in the header and footer are pushed to either side.
  • There is space between the links in the header and footer.
  • The footer has a light gray background (#eeeeee).
  • The logo, input and buttons are centered in the screen.
  • The buttons have an appropriate amount of padding.
  • There is space between the logo, input and buttons.