How does the content alignment differ inside a Jumbotron compared to a regular Bootstrap container?

  • Jumbotron aligns content to the center, container aligns to the left
  • Jumbotron aligns content to the left, container aligns to the center
  • Both Jumbotron and container align content to the center
  • Both Jumbotron and container align content to the left
The correct option is Jumbotron aligns content to the center, container aligns to the left. The Jumbotron class automatically centers its content, while the regular Bootstrap container aligns content to the left by default.
Add your answer
Loading...

Leave a comment

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