Created
October 23, 2014 16:57
-
-
Save nicbarajas/e32382aba47461c9128b 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
<div id="box"></div> | |
<div id="box-2"></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
// ---- | |
// Sass (v3.4.6) | |
// Compass (v1.0.1) | |
// ---- | |
$black: #000; | |
// $gray: #000; | |
$gray-20: lighten($black, 20%); | |
$blue: #004276; | |
// $blue-10: lighten($blue, 10%); | |
$blue-20: tint($blue, 20); | |
div { | |
display: inline-block; | |
} | |
*+* { | |
margin-left: 20px; | |
} | |
#box { | |
height: 200px; | |
width: 200px; | |
background-color: $blue-20; | |
} | |
#box-2 { | |
height: 200px; | |
width: 200px; | |
background-color: $gray-20; | |
} |
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
div { | |
display: inline-block; | |
} | |
* + * { | |
margin-left: 20px; | |
} | |
#box { | |
height: 200px; | |
width: 200px; | |
background-color: #336791; | |
} | |
#box-2 { | |
height: 200px; | |
width: 200px; | |
background-color: #333333; | |
} |
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
<div id="box"></div> | |
<div id="box-2"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment