Created
March 11, 2014 19:03
-
-
Save jonbjornn/9492694 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
<h1>Lorem ipsum dolor</h1> | |
<h2>Lorem ipsum dolor</h2> | |
<h3>Lorem ipsum dolor</h3> | |
<h4>Lorem ipsum dolor</h4> | |
<h5>Lorem ipsum dolor</h5> | |
<h6>Lorem ipsum dolor</h6> | |
<div> | |
<h1>Lorem ipsum dolor</h1> | |
<h2>Lorem ipsum dolor</h2> | |
<h3>Lorem ipsum dolor</h3> | |
<h4>Lorem ipsum dolor</h4> | |
<h5>Lorem ipsum dolor</h5> | |
<h6>Lorem ipsum dolor</h6> | |
</div> |
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
// ---- | |
// libsass (v0.7.0) | |
// ---- | |
@mixin headings($from: 1, $to: 6){ | |
$heading-selector: (unquote("")); | |
@for $i from $from through $to { | |
$heading-selector: $heading-selector, unquote("h#{$i}") | |
} | |
#{$heading-selector}{ | |
@content | |
} | |
} | |
@include headings(){ | |
font-family:sans-serif; | |
} | |
div{ | |
@include headings(1, 3){ | |
color:#BADA55; | |
} | |
} |
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
source string:6: error: invalid selector after |
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
<h1>Lorem ipsum dolor</h1> | |
<h2>Lorem ipsum dolor</h2> | |
<h3>Lorem ipsum dolor</h3> | |
<h4>Lorem ipsum dolor</h4> | |
<h5>Lorem ipsum dolor</h5> | |
<h6>Lorem ipsum dolor</h6> | |
<div> | |
<h1>Lorem ipsum dolor</h1> | |
<h2>Lorem ipsum dolor</h2> | |
<h3>Lorem ipsum dolor</h3> | |
<h4>Lorem ipsum dolor</h4> | |
<h5>Lorem ipsum dolor</h5> | |
<h6>Lorem ipsum dolor</h6> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment