CSS FLEXBOX code example
Example 1: display flex
.container {
display: flex;
align-items: center;
justify-content: center;
}
//My youtube:'https://www.youtube.com/HasibulIslambd'
Example 2: css flexbox syntax
Display: flex
Flex-direction: row | row-reverse | column | column-reverse
align-self: flex-start | flex-end | center | baseline | stretch
justify-content: start | center | space-between | space-around | space-evenly
Example 3: flexbox in css
.flexbox {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
}
Example 4: flex css end
.item {
align-self:flex-start | flex-end | center | baseline | stretch;
}
Example 5: css flex
.anyclass {
display:flex;
}
.anyclass {
display:flex;
flex-direction: row | row-reverse | column | column-reverse;
}
.anyclass {
justify-content: flex-start | flex-end | center | space-between | space-around | space-evenly | start | end | left | right ... + safe | unsafe;
}
Example 6: css flex
.container {
display: flex;
}