O'Reilly logo

Less Web Development Essentials by Bass Jobsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building your project with a responsive grid

In the preceding examples, only the grid columns were defined. This should give you a good and realistic impression of how grids work and how to use them. A complete grid code also defines responsive containers and row classes. Most grids will also have so-called gutters between their columns. A gutter (mostly fixed) is a space that separates columns. This also means that a width spanning two columns include one gutter.

In Chapter 4, Avoid Reinventing the Wheel, you have learned to reuse Less and prebuilt mixins; you can do the same for grids. It won't be necessary to write the complete code yourself. Frameworks such as Twitter's Bootstrap, the Golden Grid System (http://goldengridsystem.com/), or Less ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required