DEV Community

sutharrahul
sutharrahul

Posted on

Flex-Box (Align-item)

Align item same as justify-content but justify-content set item on horizontal line but when we want to adjust item in vertical line we use align-item.
syntex is

.flxbox{
display:flex;
flex-direction:row | column;
align-item: flex-star | flex-end | center;
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)