Skip to content

Instantly share code, notes, and snippets.

@donpinkus
Created June 21, 2014 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donpinkus/b7333917044e45fdcb6e to your computer and use it in GitHub Desktop.
Save donpinkus/b7333917044e45fdcb6e to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<div id="susyContainer">
<div id="susyOffset">
</div>
</div>
// ----
// 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;
}
}
#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;
}
<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