Created
March 23, 2015 22:51
-
-
Save CassyJens/27e13cc4ae586f2f885f 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 class='container'> | |
<div class='block'> </div> | |
<div class='block'> </div> | |
<div class='block'> </div> | |
<div class='block'> </div> | |
</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.12) | |
// Compass (v1.0.3) | |
// Singularity.gs (v1.5.1) | |
// ---- | |
@import "singularitygs"; | |
@include add-grid(14); | |
.container { | |
background-color: lightpink; | |
height: 100px; | |
width: 100%; | |
} | |
.block { | |
@include grid-span(3, 2, $output-style: 'float'); | |
background-color: lightgrey; | |
height: 25px; | |
} | |
.block:first-of-type { | |
margin-left: grid-span(1, 1); | |
} |
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
.container { | |
background-color: lightpink; | |
height: 100px; | |
width: 100%; | |
} | |
.block { | |
width: 20.28986%; | |
clear: right; | |
float: left; | |
margin-right: 1.44928%; | |
background-color: lightgrey; | |
height: 25px; | |
} | |
.block:first-of-type { | |
margin-left: 7.24638%; | |
} |
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 class='container'> | |
<div class='block'> </div> | |
<div class='block'> </div> | |
<div class='block'> </div> | |
<div class='block'> </div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment