News for hackers. Stuff that matters.
Re:Why the Bootstrap 3 Grid Works (2013) by junto on Wednesday July 16, 2014 @03:40AM (#8040982)
What is the preferred method for a row that needs to span the entire width of the container? As in, without the 15px margin on the column? Just set the margins to 0px?
Re:Why the Bootstrap 3 Grid Works (2013) by yoz-y on Wednesday July 16, 2014 @11:22AM (#8042481)
I would add a negative margin to the content, or create another layer of container with negative margin after .container > .row > .column
Re:Why the Bootstrap 3 Grid Works (2013) by Zaheer on Wednesday July 16, 2014 @03:58AM (#8041023)
Can't you just not use a column? or not use a container at all? I think the second would be preferred way according to his post.
Re:Why the Bootstrap 3 Grid Works (2013) by junto on Wednesday July 16, 2014 @04:08AM (#8041042)
Isn't he saying that you should always use a container?
Re:Why the Bootstrap 3 Grid Works (2013) by dpearce on Wednesday July 16, 2014 @08:36AM (#8041668)
Any content should always be in a container. The 15px margin keeps the content from laying against the side of the browser. If you want to do a fullscreen background or image or something then you don't need the container.
Re:Why the Bootstrap 3 Grid Works (2013) by zecho on Wednesday July 16, 2014 @06:04PM (#8044875)
Exactly this. If you want to create a bleed, don't use a container, but if you want content inside that bleeding element, put a container inside of it, which will keep content from bleeding.

If you need multiple bleeds on a page, use multiple containers. Just don't nest containers inside of containers.

Re:Why the Bootstrap 3 Grid Works (2013) by eflowers on Wednesday July 16, 2014 @08:07PM (#8045321)
For bleeds I just use the same container structure inside of a wrapper div that has the bleed.

For images that you want to touch the side or whatever, there is some of that fiddling with the margins on the interior elements, yeah.

Re:Why the Bootstrap 3 Grid Works (2013) by ryenus on Wednesday July 16, 2014 @05:41AM (#8041284)
.col needs to be in a .row which provides clearfix, of course this is only one of the reasons.