Bootstrap Interview

Bootstrap Buttons Interview

1Base class needed for all Bootstrap buttons?
Answer: .btn.
2How to create primary button?
Answer: .btn .btn-primary.
3Outline style variant naming?
Answer: .btn-outline-*.
4How to make button group?
Answer: Wrap buttons in .btn-group.
5Difference between disabled button and disabled link button?
Answer: Button uses disabled attribute; link needs class-based disabled handling and ARIA.