Complete the code to add horizontal gutters between columns using Bootstrap classes.
<div class="row [1]"> <div class="col">Column 1</div> <div class="col">Column 2</div> </div>
gy-3 which adds vertical gutters instead of horizontal.p-3 which adds padding inside elements, not gutters.The class gx-3 adds horizontal gutters (spacing) between columns in a Bootstrap row.
Complete the code to remove all gutters between columns in a Bootstrap row.
<div class="row [1]"> <div class="col">First</div> <div class="col">Second</div> </div>
gx-0 or gy-0 which only remove horizontal or vertical gutters, not both.The class g-0 removes all gutters (both horizontal and vertical) between columns.
Fix the error in the code to add vertical gutters of size 4 between columns.
<div class="row [1]"> <div class="col">A</div> <div class="col">B</div> </div>
gx-4 which adds horizontal gutters instead of vertical.p-4 which adds padding inside columns, not gutters.The class gy-4 adds vertical gutters of size 4 between columns in Bootstrap.
Fill both blanks to create a row with horizontal gutters size 2 and vertical gutters size 5.
<div class="row [1] [2]"> <div class="col">One</div> <div class="col">Two</div> </div>
g-3 which sets all gutters to size 3, not the requested sizes.p-2 which adds padding, not gutters.Use gx-2 for horizontal gutters size 2 and gy-5 for vertical gutters size 5.
Fill all three blanks to create a row with no gutters, and add margin bottom 4 to columns.
<div class="row [1]"> <div class="col [2]">Col 1</div> <div class="col [3]">Col 2</div> </div>
gx-3 which adds horizontal gutters instead of removing gutters.g-0 removes all gutters from the row. Adding mb-4 to columns adds margin bottom for spacing below each column.