Created
March 20, 2015 19:28
-
-
Save bradrice/76ca88971acffef3e4f3 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
<div class="test"> | |
Some text | |
</div> | |
This file contains hidden or 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.12) | |
// Compass (v1.0.3) | |
// ---- | |
@mixin serif-font($f-size: 1em, $l-height: 140%, $m-top: .5em, $m-bottom: .5em) { | |
font-family: Georgia, "Times New Roman", Times, serif; | |
margin-bottom: .5em; | |
margin-top: .5em; | |
font-size: $f-size; | |
line-height: $l-height; | |
} | |
@mixin sans-font($f-size: 1em, $l-height: 140%) { | |
font-family: verdana, Helvetica, arial, "Helvetica Nueu", sans-serif; | |
margin-bottom: .5em; | |
margin-top: .5em; | |
font-size: $f-size; | |
line-height: $l-height | |
} | |
.test { | |
@include serif-font | |
} |
This file contains hidden or 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
.test { | |
font-family: Georgia, "Times New Roman", Times, serif; | |
margin-bottom: .5em; | |
margin-top: .5em; | |
font-size: 1em; | |
line-height: 140%; | |
} |
This file contains hidden or 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
<div class="test"> | |
Some text | |
</div> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment