bootstrap 3 full width image and div in container

后端 未结 4 1491
情书的邮戳
情书的邮戳 2021-01-19 11:07

I\'m trying to set some divs to width: 100% on Twitter Bootstrap 3 (including no paddings or margins).

JSfiddle: http://jsfiddle.net/rq9ycjcx/

H

4条回答
  •  耶瑟儿~
    2021-01-19 11:44

    There is no "right" way to do that in Bootstrap 3. It means you have to reset padding for the exact column.
    You can create a class such as this one:

    .col-md-12.resetPadding { padding:0px }
    

    About Main page > page disappearing, I don't see this problem on my browsers (tested on Chrome and FF), but you have line-height: 80px there and as you said your breadcrumbs div has height: 80px;, so try to reduce line-height property and see how it works.

提交回复
热议问题