Twitter Bootstrap Containers

Twitter Bootstrap Containers

Ive been using bootstrap for a few months and am looking to clarify something as part of best practices.
My question is do I create a container for each row or just one big container for the whole page.
Example1 (Closed Containers)

Content

More Content

Example 2 (1 large container)

Content

Content

Any help appreciated, just dont want to get into bad habits early on

Solutions/Answers:

Solution 1:

I would recommend the second example.
In the first you have duplicate code wich makes no real sense.
Always think about the principle “Don’t repeat yourself”.

Solution 2:

Multiple rows can logically be part of the same grid, like rows in a table. The .container represents one grid. So Example 2 would be the way to go.

References

Related:  Bootstrap 3 Horizontal Divider (not in a dropdown)