Bootstrap Interview

Bootstrap Utilities Interview

1Why use utilities instead of custom CSS for everything?
Answer: Faster development, consistency, and lower context switching.
2Meaning of mt-3?
Answer: Margin-top spacing scale value 3.
3How to hide an element?
Answer: .d-none, and responsive variants like .d-md-none.
4How to center flex items?
Answer: .d-flex .justify-content-center .align-items-center.
5What are sizing utilities?
Answer: Width/height helpers like w-25, w-100, h-100.