CSS Flexbox difference between justify content and align items

Published: 14 November 2020
on channel: Alberto Rivas - Photoshop tutorials
31,378
590

what is the difference between justify content and align items in css
With this you will learn how to center elements vertically and horizontally. Or how to align elements to the end or the beginning of the container vertically or horizontally

So in flexbox we have a main axis and a cross axis. When we say justify we are talking about the main axis and when we say align we are talking about the cross axis.

By default the main axis is the horizontal one, but if we say flex-direction: column; now the main axis will be the vertical one


On this page of the site you can watch the video online CSS Flexbox difference between justify content and align items with a duration of hours minute second in good quality, which was uploaded by the user Alberto Rivas - Photoshop tutorials 14 November 2020, share the link with friends and acquaintances, this video has already been watched 31,378 times on youtube and it was liked by 590 viewers. Enjoy your viewing!