Full width hero unit in Twitter Bootstrap

后端 未结 2 1919
谎友^
谎友^ 2021-02-02 16:31

In this example layout I want only hero unit to be 100% wide and rest within the default grid. For example, check this site. It has only the hero unit part (showcase area) in fu

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-02 16:54

    move your .hero-unit div outside of your .container div.

    the .container style confines you to a set width. and anything inside it will have a maximum width of it's parent. instead of:

    use:

提交回复
热议问题