subject selector support #49

Closed
robocoder opened this Issue Feb 28, 2013 · 1 comment

Projects

None yet

1 participant

@robocoder
Collaborator

This:

header %component {
  margin-bottom: 0;
}
%component! ol {
  padding-left: 20px;
}

section! .widget { @extend %component; }

should compile to:

header section! .widget {
  margin-bottom: 0; }

section! .widget ol,
section! ol .widget {
  padding-left: 20px; }

(Note: it doesn't currently work with sass 3.2 due to sass/sass#481)

@robocoder robocoder closed this Jul 8, 2014
@robocoder
Collaborator

Closing as this hasn't been fixed is sass 3.3.x either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment