Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Grids for CSS

It may have already been explained on the 1st stage of Website Waters, But I don't understand how someone would be able to know how many columns there would be in a grid and how wide the columns would be. Do you calculate it in the design process before writing the site?

1 Answer

Kevin Korte
Kevin Korte
28,148 Points

If you had a grid system, you could look in the CSS document and see how many columns and the widths of those columns. Usually though, yes you take into account your gird system in the design process. Just keep in mind grids are to help align and lay out items, but in no way should a grid be so inflexible that you base your design around a grid. Instead your grid should fit around the design.

I've posted this before, but I enjoy this article on grids http://css-tricks.com/dont-overthink-it-grids/