Twitter Bootstrap Containers

前端 未结 2 932
不思量自难忘°
不思量自难忘° 2021-01-07 21:49

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

2条回答
  •  旧巷少年郎
    2021-01-07 22:15

    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".

提交回复
热议问题