In this tutorial, we look at how to vertical align with CSS Flexbox.
When working with a "flex-direction" of "row", you can vertically align all items using the "align-items" property (which works along the cross axis).
To vertically align individual flex items when working in the row direction, use the "align-self" property.
When working with a "flex-direction" of "column", you can vertically align all items using the "justify-content" property (which works along the main axis).
To vertically align individual flex items in the column direction, use "auto margins".
I hope you found this video helpful. If you have any questions, please leave them in the comments below and I'll do my best to answer as soon as possible.
TIMESTAMPS:
00:00 Introduction
00:25 "flex-direction: row" and "align-items"
03:02 "flex-direction: row" and "align-self"
04:26 "flex-direction: column" and "justify-content"
05:39 "flex-direction: column" and auto margins
07:23 Summary
WATCH NEXT:
• CSS Flexbox "justify-content" vs. "align-items" - • CSS Flexbox "justify-content" vs. "al...
• CSS Flexbox "justify-content: space-between" Explained - • CSS Flexbox "justify-content: space-b...
• CSS Flex Direction (flex-direction) Explained - • CSS Flex Direction (flex-direction) E...
Nesta página do site você pode assistir ao vídeo on-line How to Vertical Align with CSS Flexbox - Beginner Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Front End Beginners 02 Novembro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 2,530 vezes e gostou 29 espectadores. Boa visualização!