Recall & Review
beginner
What does the <code>offset</code> class in Bootstrap do?It moves a column to the right by adding empty space before it, creating a gap on the left side.
Click to reveal answer
beginner
How do you create a column that starts after 3 columns of empty space in Bootstrap?
Use the class
offset-3 on the column to add a left margin equal to 3 columns.Click to reveal answer
intermediate
Why use offset columns instead of empty columns in Bootstrap?
Offsets add space without adding extra empty columns, keeping the layout cleaner and easier to manage.
Click to reveal answer
intermediate
What is the difference between
offset-md-2 and offset-lg-2?offset-md-2 applies the offset on medium screens and up, while offset-lg-2 applies it on large screens and up.Click to reveal answer
beginner
Can you combine offset classes with column width classes in Bootstrap?
Yes, for example
col-6 offset-3 creates a 6-column wide element shifted right by 3 columns.Click to reveal answer
What does
offset-4 do in Bootstrap?✗ Incorrect
offset-4 adds empty space equal to 4 columns before the column, shifting it right.Which class would you use to offset a column by 2 columns only on large screens?
✗ Incorrect
offset-lg-2 applies the offset only on large screens and above.If you want a column to be 6 columns wide and shifted right by 3 columns, which classes do you use?
✗ Incorrect
Use
col-6 offset-3 to make the column 6 wide and move it right by 3 columns.Why might you prefer using offset classes instead of empty columns for spacing?
✗ Incorrect
Offsets add space without extra empty columns, keeping the HTML cleaner.
Which Bootstrap grid system feature allows responsive offsetting?
✗ Incorrect
The
offset-{breakpoint}-{number} syntax applies offsets responsively at different screen sizes.Explain how offset columns work in Bootstrap and why they are useful.
Think about how you create space on the left side of a column.
You got /4 concepts.
Describe how to use responsive offset classes in Bootstrap and give an example.
Consider how offsets change with screen size.
You got /4 concepts.