Is it ok to have a row-fluid inside a row?

前端 未结 3 700
遥遥无期
遥遥无期 2021-02-01 08:51

I\'ve been playing with the Twitter Bootstrap grid system, and noticed that I could mix row and row-fluid in the following way:



        
3条回答
  •  故里飘歌
    2021-02-01 09:33

    Yes, it's reliable and documented. Take a look at Basic fluid grid HTML section on th documentation. As you will see you can:

    Make any row "fluid" by changing .row to .row-fluid. The column classes stay the exact same, making it easy to flip between fixed and fluid grids.

    It means that you can use this component anywhere in your layout, doesn't matter if it's fluid or not. You will note also that "Fluid layout" section is completely separated from this one.

提交回复
热议问题