Skip to content

Instantly share code, notes, and snippets.

@jdsteinbach
Created May 2, 2014 15:49
Show Gist options
  • Select an option

  • Save jdsteinbach/11478684 to your computer and use it in GitHub Desktop.

Select an option

Save jdsteinbach/11478684 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.6)
// Compass (v1.0.0.alpha.18)
// ----
/* You can do this with 3.2 & down: */
.parent {
text-align: center;
.child {
text-align: left;
}
}
/* You can do *this* with 3.3: */
.entry {
font-size: 1em;
&-title {
font-size: 2em;
}
}
/* You can do this with 3.2 & down: */
.parent {
text-align: center;
}
.parent .child {
text-align: left;
}
/* You can do *this* with 3.3: */
.entry {
font-size: 1em;
}
.entry-title {
font-size: 2em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment