Skip to content

Compass Core: Utilities Module

chriseppstein edited this page Sep 13, 2010 · 28 revisions

Class & Element Mixins

Class mixins provide classes or define styles for elements. These will be scoped according to the selector you mix them into.

No class or element mixins are provided by this module.

Style Mixins

Style mixins provide styles, but not any classes that can be used. Use them by mixing them into a selector.

+clearfix If an element contains only floated elements, use mixin to make sure the bottom falls below the contained elements.
+nowrap Because white-space: nowrap is too much typing, don’t you agree?
Clone this wiki locally