Search code examples
twitter-bootstraprowcol

Should Bootstrap .row contain .col-*?


I want to fill .row by some content, should I always use <div class='col-*'>Content</div> or may I just put my Content into .row?

What are pros and cons?


Solution

  • From the bootstrap documentation "Content should be placed within columns, and only columns may be immediate children of rows."

    So no, it is not recommended that you place any content directly inside of row.