Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sass placeholder class
.container {
/**
**This is an placeholder class
**/
display: block;
margin-left: auto;
margin-right: auto;
}
.center, .container {
/**
** This is not an placeholder class
**/
text-align: center;
}
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
%center {
/**
**This is an placeholder class
**/
display: block;
margin-left: auto;
margin-right: auto;
}
.center {
/**
** This is not an placeholder class
**/
text-align: center;
}
.container {
@extend %center;
@extend .center;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.