1. Home
  2. Computer Science MCQs
  3. Bootstrap
  4. Which class is used to add spacing between columns in a…

Added 2 May 2024

Which class is used to add spacing between columns in a grid container in Bootstrap 5?

  1. gap Correct answer
  2. col-gap
  3. row-gap
  4. column-gap

Correct answer

A. gap

18 views

MCQSEXAM

Explanation

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.

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Bootstrap MCQs

Practise all Bootstrap MCQs

Similar MCQs