Home > Back-end >  flexbox alignment help. I can not get links in the header to center along the cross axis on a Flex-R
flexbox alignment help. I can not get links in the header to center along the cross axis on a Flex-R

Time:03-18

enter image description here

CodePudding user response:

If you want like this: photo

add align-items:center; to .header

.header will be like this:

.header {
font-family: monospace;
background: papayawhip;
display: flex;
justify-content: center;
align-items: center; }
  • Related