Skip to content

Compass Core: Utilities Module

chriseppstein edited this page Sep 13, 2010 · 28 revisions

Class & Element Mixins

NOTE: This wiki page is dreadfully out of date. Please update me!
Until then go to the source

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 to the selector they are mixed into.

+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