Created
November 3, 2013 15:10
-
-
Save jackw/7291226 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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.3.0.rc.1) | |
// Compass (v0.13.alpha.10) | |
// ---- | |
%my-placeholder { | |
background:black; | |
padding:20px; | |
position:relative; | |
color:red; | |
&:before { | |
background:purple; | |
content:'I was here before you.'; | |
padding:20px; | |
position:absolute; | |
top:0; | |
right:100%; | |
} | |
&:after { | |
background:pink; | |
content:'I come after you.'; | |
padding:20px; | |
position:absolute; | |
top:0; | |
left:100%; | |
} | |
} | |
.give-me-more { | |
@extend %my-placeholder; | |
} |
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
.give-me-more { | |
background: black; | |
padding: 20px; | |
position: relative; | |
color: red; | |
} | |
.give-me-more:before { | |
background: purple; | |
content: 'I was here before you.'; | |
padding: 20px; | |
position: absolute; | |
top: 0; | |
right: 100%; | |
} | |
.give-me-more:after { | |
background: pink; | |
content: 'I come after you.'; | |
padding: 20px; | |
position: absolute; | |
top: 0; | |
left: 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment