Created
June 21, 2014 19:21
-
-
Save donpinkus/b7333917044e45fdcb6e 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
<div id="susyContainer"> | |
<div id="susyOffset"> | |
</div> | |
</div> |
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.3.8) | |
// Compass (v1.0.0.alpha.19) | |
// Susy (v2.1.2) | |
// ---- | |
@import "susy"; | |
#susyContainer { | |
@include container(20rem); | |
background: red; | |
height: 40px; | |
#susyOffset { | |
@include span(4 at 3 of 12); | |
background: blue; | |
height: 40px; | |
} | |
} |
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
#susyContainer { | |
max-width: 20rem; | |
margin-left: auto; | |
margin-right: auto; | |
background: red; | |
height: 40px; | |
} | |
#susyContainer:after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
#susyContainer #susyOffset { | |
width: 32.20339%; | |
float: left; | |
margin-right: 1.69492%; | |
background: blue; | |
height: 40px; | |
} |
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
<div id="susyContainer"> | |
<div id="susyOffset"> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment