Last active
August 29, 2015 14:12
-
-
Save devbyray/3ee20599944c10a59cef to your computer and use it in GitHub Desktop.
Sass placeholder class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// 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