News for hackers. Stuff that matters.
Re:Learn Foundation with interactive lessons by rahilsondhi on Friday April 26, 2013 @04:55PM (#5615419)
Looking forward to advanced lessons on writing semantic markup using grid mixins + their options (eg nest, collapse, etc).
Re:Learn Foundation with interactive lessons by pault on Friday April 26, 2013 @06:18PM (#5615831)
Why use semantic markup with a CSS framework? It makes your CSS increase linearly with your content.
Re:Learn Foundation with interactive lessons by rahilsondhi on Saturday April 27, 2013 @12:51PM (#5618270)
Well what I meant is HTML with minimal presentational classes like span6 push1 or something. I'd like the CSS classes in my HTML to be related to the object, not whatever grid framework I happen to be using.

I'm using SASS and the Foundation grid mixins to define visual components of the site (eg tag, display-picture, etc) that can be put on any page and have different sub classes (eg tag-small, display-picture-large).

With this, the goal is not to have CSS increase linearly with the number of pages/content because I've defined all the visual components of the site and they can be shared across pages.