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!

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

HTML Build a Simple Website Creating a Website Structure Working with Grids

Could you further explain the omega class?

I did not conceptually pick up on what the omega class does and when it should be used. Could you explain this further?

2 Answers

Omega helps remove margins on the right of a grid item its basically what you use when all your html cols add upto 12 without it would push elements underneath one another rather than keeping a consistent vertical alignment

James Barnett
James Barnett
39,199 Points

The "alpha" class is used on the FIRST "child" div. It shifts the div to the left to make it line up with your design.

The "omega" class is used on the LAST "child" div. It shifts the div to the right to make it line up with your design.

source: http://www.clubosc.com/960-grid-tutorial-%E2%80%93-understanding-alpha-and-omega-classes.html