0
0
Bootsrapmarkup~5 mins

Gutters and spacing control in Bootsrap - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What are gutters in Bootstrap grid layout?
Gutters are the spaces between columns in a Bootstrap grid. They help separate content visually and keep the layout clean.
Click to reveal answer
beginner
How do you remove gutters between columns in Bootstrap 5?
You add the class g-0 to the row to remove all gutters (spacing) between columns.
Click to reveal answer
beginner
What does the Bootstrap class g-3 do?
It adds a medium amount of spacing (gutters) between columns and rows, roughly equal to 1rem (16px).
Click to reveal answer
intermediate
How can you control horizontal and vertical spacing separately in Bootstrap?
Use gx-* classes for horizontal gutters and gy-* classes for vertical gutters, where * is a number from 0 to 5.
Click to reveal answer
intermediate
What Bootstrap utility classes control margin and padding spacing?
Classes like m-* control margin and p-* control padding. You can specify sides (top, bottom, left, right) and sizes from 0 to 5.
Click to reveal answer
Which class removes all gutters between columns in Bootstrap?
Ag-0
Bno-gutters
Cgx-5
Dg-5
What does the class gy-2 do?
AAdds vertical spacing between rows
BAdds padding inside columns
CRemoves all gutters
DAdds horizontal spacing between columns
How do you add margin only to the top of an element in Bootstrap?
Am-5
Bmt-3
Cp-3
Dmx-2
If you want medium spacing between columns and rows, which class is best?
Ag-5
Bg-1
Cg-3
Dg-0
Which class controls padding on the left and right sides only?
Apy-*
Bmy-*
Cmx-*
Dpx-*
Explain how to control gutters and spacing in a Bootstrap grid layout.
Think about how spacing affects columns and rows separately.
You got /4 concepts.
    Describe how Bootstrap utility classes help manage margin and padding for spacing.
    Remember margin is outside space, padding is inside space.
    You got /3 concepts.