Created
October 29, 2015 11:04
-
-
Save cimmanon/2088879e00c20607ce61 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
<button class='drpDwnRp'>Select...<span class='caret'></span></button> | |
<ul class='dropdown-menu'> | |
<li><a><i class='glyphicon glyphicon-ok'></i>SELECT All</a></li> | |
<li><a><i class='glyphicon glyphicon-remove'></i>DELETE All</a></li> | |
<li class='divider'></li> | |
<li><a>LIST here</li> | |
</ul> |
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.14) | |
// Compass (v1.0.3) | |
// ---- | |
$tile-size: 100px; | |
$tile-color: red green blue black; | |
.tile { | |
width: $tile-size; | |
height: $tile-size; | |
} | |
@each $color in $tile-color { | |
$i: index($tile-color, $color); | |
#tile#{$i} { | |
@extend .tile; | |
background-color: $color; | |
} | |
} |
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
.tile, #tile1, #tile2, #tile3, #tile4 { | |
width: 100px; | |
height: 100px; | |
} | |
#tile1 { | |
background-color: red; | |
} | |
#tile2 { | |
background-color: green; | |
} | |
#tile3 { | |
background-color: blue; | |
} | |
#tile4 { | |
background-color: black; | |
} |
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
<button class='drpDwnRp'>Select...<span class='caret'></span></button> | |
<ul class='dropdown-menu'> | |
<li><a><i class='glyphicon glyphicon-ok'></i>SELECT All</a></li> | |
<li><a><i class='glyphicon glyphicon-remove'></i>DELETE All</a></li> | |
<li class='divider'></li> | |
<li><a>LIST here</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment