When should I use container and row in Twitter Bootstrap 3?

后端 未结 5 1125
清酒与你
清酒与你 2020-12-07 10:12

Please explain to me when to use the classes container and row. I\'m not sure because the documentation of Bootstrap is quite unclear about this pa

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-07 10:46

    Class 'container' wraps the content within to center of view port. Entire content with in body tag can be placed in results the page displayed of specified width in center of page.

    Class 'row' is used when you need to place content in columns with in a row, you can have upto 12 columns in total in each row.

提交回复
热议问题