Created
May 13, 2014 14:46
-
-
Save MacKP/a5b23a91298787b6c170 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
<section> | |
<div class="box dunkelgrau">Inhalt</div> | |
<div class="box gruen">Inhalt</div> | |
</section> |
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.3.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
$gruen: #7ba32b; | |
$dunkelgrau: #13191D; | |
$font-dunkel: #000; | |
$font-hell: #fff; | |
section {width: 500px;} | |
.box { | |
display: inline-block; | |
height: 50px; | |
padding: 10px; | |
width: 50%; | |
@media (max-width: 600px) { | |
width: 100%; | |
} | |
} | |
.gruen { | |
background-color: $gruen; | |
color: $font-dunkel; | |
} | |
.dunkelgrau { | |
background-color: $dunkelgrau; | |
color: $font-hell; | |
} |
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
section { | |
width: 500px; | |
} | |
.box { | |
display: inline-block; | |
height: 50px; | |
padding: 10px; | |
width: 50%; | |
} | |
@media (max-width: 600px) { | |
.box { | |
width: 100%; | |
} | |
} | |
.gruen { | |
background-color: #7ba32b; | |
color: black; | |
} | |
.dunkelgrau { | |
background-color: #13191d; | |
color: white; | |
} |
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
<section> | |
<div class="box dunkelgrau">Inhalt</div> | |
<div class="box gruen">Inhalt</div> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment