Bootstrap Interview

Bootstrap Flex Interview

1How to make flex container?
Answer: Use .d-flex.
2How to change direction?
Answer: Classes like .flex-row, .flex-column.
3Main-axis alignment utility?
Answer: .justify-content-*.
4Cross-axis alignment utility?
Answer: .align-items-*.
5How to add spacing between items?
Answer: Use gap-* utilities.