Bootstrap Interview

Bootstrap Grid Interview

1Why is grid 12-column based?
Answer: 12 is divisible by 2, 3, 4, 6 for flexible layouts.
2Required nesting order?
Answer: container > row > col.
3What does .col-md-6 mean?
Answer: Half width from md breakpoint and above.
4How to control gutter?
Answer: Use g-*, gx-*, gy-* on rows.
5When to use row-cols-*?
Answer: For auto-equal column counts per row.