nex3/sass — Issue #211: @extend a selector without printing it
Author: barraponto
Created: 2011-11-10 22:40:52+00:00
State: open

What I'm looking for is a way to @extend a selector without printing it.

I'm looking for this feature because I write some styles that are used several by several markups, but I don't want to tie them to any markup. Currently, I'm using classes starting with - (hyphen) since they are probably not being used in the actual markup.

@nex3 once suggested using a @quiet directive to define these non-printing classes. I thought of using _ (underscore) in the beginning of the selector, to make it consistent with partials. Either way will do.