Created
November 16, 2015 09:50
-
-
Save asimonok/d2e4dc27e6410b3b108e 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
<ul> | |
<li class="item-1">item 1</li> | |
<li class="item-2">item 2</li> | |
<li class="item-3">item 3</li> | |
</ul> |
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 (v3.2.5) | |
// ---- | |
@for $i from 1 through 3{ | |
.item-#{$i}{ | |
padding-left:20px*$i; | |
background:#424242*$i; | |
} | |
} |
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
.item-1 { | |
padding-left: 20px; | |
background: #424242; | |
} | |
.item-2 { | |
padding-left: 40px; | |
background: #848484; | |
} | |
.item-3 { | |
padding-left: 60px; | |
background: #c6c6c6; | |
} |
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
<ul> | |
<li class="item-1">item 1</li> | |
<li class="item-2">item 2</li> | |
<li class="item-3">item 3</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment