Q2: Given a complex layout, how would you prioritize grid classes for different screen sizes in Bootstrap?

  • col-lg-4, col-md-12, col-sm-12, col-xs-12
  • col-lg-4, col-md-6, col-sm-12, col-xs-12
  • col-xs-12, col-sm-12, col-md-12, col-lg-4
  • col-xs-12, col-sm-12, col-md-6, col-lg-4
Prioritizing grid classes in Bootstrap involves ordering them from larger to smaller screens. In this case, 'col-lg-4' comes first for large screens, followed by 'col-md-6' for medium screens, and finally 'col-sm-12' and 'col-xs-12' for small and extra-small screens.
Add your answer
Loading...

Leave a comment

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