css-exercises

A Basic Header

Use flexbox rules to create this very common webpage header style. The benefit to using flex here is that everything should be flexible. Check out the two screenshots below to get an idea of how it should scale with your screen. Besides flex rules, you’ll also want to add some rules for margin and padding. (Hint: uls have some default margin/padding that you will need to deal with.)

Desired Outcome

narrow: narrow

wide: wide

Self Check