Created
June 28, 2011 10:40
-
-
Save markjames/1050886 to your computer and use it in GitHub Desktop.
Units/Groups
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
/* | |
The .unit class indicates a single page item (e.g. a latest news list). Units cannot be nested. | |
The .group class indicates a collection of units. | |
*/ | |
.unit:before, .unit:after, .group:before, .group:after { content: "\0020"; display: block; height: 0; overflow: hidden; } | |
.unit:after, .group:after { clear: both; } | |
.unit, .group { zoom: 1; } | |
</style> | |
e.g.: | |
<nav id="unit-section-links" class="unit unit-list"> | |
... | |
</nav><!-- /#unit-section-links --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment