Created
November 23, 2011 08:51
-
-
Save peterudo/1388219 to your computer and use it in GitHub Desktop.
Sass
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
@charset "UTF-8"; | |
small:before { | |
content: "— "; } | |
.page-content { | |
margin: 44 px 0 0 0; } |
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
$toolbar-height: 44; | |
small:before { | |
content: "— "; | |
} | |
.page-content { | |
margin: #{$toolbar-height}px 0 0 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the feedback, both of those work perfectly. I was planning to switch to using px in the variable, but thought it was a good idea to point out a potential bug in the compiler before moving on in silence.