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
As suggested above, you can create a helper class
.padding-0 {
padding: 0;
}
and apply it to any HTML elements for which you need a padding reset. So in your case, it would look like this:
For the second problem, set height
of .gray
class to auto
:
@media () {
.gray {
height: auto;
}
}
Note: You could also remove line-height: 80px
, it's optional :)
http://jsfiddle.net/rq9ycjcx/8/