Building with content choreography

Jordan Moore:

We want to make the most of the confined space and let key content and components flourish, but sometimes our hierarchy of elements can prevent that from happening. Say for example we want to present an article in the narrow single column view, but before the article appears in the stacking order we have: a header (containing site name etc), navigation, maybe even a banner advertisement, then the article. The heart of the page is buried beneath items that may be less important in this context. Rather than brutally hiding these items with a display:none property we can reorder them using another CSS property – flexbox.

Everybody who has some experience with building responsive layouts will love flexbox. Head over to Jordan’s article and learn how it works. Then view his demo. I love it.

Veröffentlicht am Dienstag, 08. Mai 2012