Q3. Explain how to use the 'card-group' class differently from 'card-deck' in Bootstrap.

  • 'card-group' arranges cards horizontally
  • 'card-group' arranges cards vertically
  • 'card-deck' places cards with equal width
  • 'card-deck' places cards with varying width
The 'card-group' class in Bootstrap arranges cards horizontally, while 'card-deck' places cards with equal width vertically. Understanding these layout differences is crucial for achieving the desired card arrangement in your UI.
Add your answer
Loading...

Leave a comment

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