Which class is used to add spacing between columns in a grid container in Bootstrap 5?
Correct answer
A. gap
18 views
A. gap
18 views
Bootstrap 5 controls spacing between grid columns with gap/gutter utilities — g-* for both directions, gx-* horizontal and gy-* vertical — plus gap-* utilities for flex and grid containers.
The other options are CSS property names rather than Bootstrap utility classes.
Practise more Computer Science MCQs with answers and explanations on MCQsExam.com.
Not sure why the answer is A? Ask here and get an explanation.