Q3: Describe how you would use Bootstrap's grid system to create a responsive gallery layout.

  • col-lg-3 col-md-4 col-sm-6
  • col-lg-3 col-md-6 col-sm-12
  • col-lg-4 col-md-4 col-sm-6
  • col-lg-4 col-md-6 col-sm-12
To create a responsive gallery layout in Bootstrap, use 'col-lg-4' for large screens, 'col-md-6' for medium screens, and 'col-sm-12' for small screens. This combination ensures a flexible and visually appealing gallery that adapts to various device sizes.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *