Skip to content

Instantly share code, notes, and snippets.

@gotoplanb
Created June 12, 2013 19:23
Show Gist options
  • Save gotoplanb/5768303 to your computer and use it in GitHub Desktop.
Save gotoplanb/5768303 to your computer and use it in GitHub Desktop.
headliner- {
foo {
img {
border: 5px solid red;
}
}
}
@gotoplanb
Copy link
Author

Yields a selector of headliner- foo img but I need headliner-foo img. What's the magic I'm missing?

@bruce
Copy link

bruce commented Jun 12, 2013

http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#nested_properties

(Aware this is for properties, not selectors -- it's the closest I'm aware of.)

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