Understanding Columns on Small Screens
In Bootstrap’s grid system, which class would you use to make a column take up half the width on small screens (width ≥576px)?
- col-sm-6
- col-6
- col-md-6
- col-lg-6
- col-12
Using Offsets
If you want a column to be offset by 3 columns on medium screens, which Bootstrap class should you use?
- offset-md-3
- off-md-3
- col-md-offset-3
- md-offset-3
- offset-col-md-3
Fluid Container
Which class makes a container span the entire width of the viewport in Bootstrap 4 and above?
- container-fluid
- container-wide
- fluid-container
- container-full
- conatiner-fliud
Nested Grids
How would you properly nest a row and columns within an existing column in Bootstrap’s grid system?
- Add a .row inside the column, then add .col classes inside that row
- Place .col classes directly inside the existing column
- Only use .container for nesting
- Use .offset inside the column
- Place .col-row inside the column
Responsive Column Stacking
What happens if you use only the .col class for multiple columns inside a row?
- Columns are automatically sized and will stack on extra-small screens
- All columns will collapse to a single column on all devices
- The last column will fill all available space
- You must specify width or they won’t display
- Columns will overlap each other
Grid Breakpoints
Which Bootstrap breakpoint class would apply styles at screens wider than or equal to 992px?
- col-lg-
- col-md-
- col-xl-
- col-sm-
- col-992-
Alignment in Rows
To vertically align all columns in a row to the center, what Bootstrap class is used on the row?
- align-items-center
- align-self-center
- justify-content-center
- center-align-items
- item-align-center
Column Order
If you want a column to appear first on small screens and last on larger screens, which set of classes should you use?
- order-sm-first order-lg-last
- order-last-sm order-first-lg
- order-xs-1 order-lg-5
- first-sm last-lg
- order-first-lg order-last-sm
Equal-Height Columns
What class combination ensures columns in a row always have equal height in Bootstrap?
- row d-flex
- row-equal d-row
- row equal-cols
- d-row-flex
- row-eq-height
Auto Layout Columns
Which of these allows columns to automatically size themselves based on their content in Bootstrap’s grid?
- col
- col-auto
- col-size
- auto-col
- col-fit