Created
August 31, 2014 15:02
-
-
Save maddesigns/389d2698a1e03fd98738 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
- (1...13).each do |i| | |
.column= i |
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.14) | |
// Compass (v1.0.1) | |
// Singularity.gs (v1.4.0) | |
// ---- | |
@import "singularitygs"; | |
* { | |
box-sizing: border-box; | |
} | |
.column { | |
@include float-span(3); | |
background-color: green; | |
margin-bottom: 1em; | |
padding: 1em; | |
&:nth-child(4n) { | |
margin-right: 0; | |
} | |
} |
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
* { | |
box-sizing: border-box; | |
} | |
.column { | |
width: 23.72881%; | |
clear: right; | |
float: left; | |
margin-left: 0; | |
margin-right: 1.69492%; | |
background-color: green; | |
margin-bottom: 1em; | |
padding: 1em; | |
} | |
.column:nth-child(4n) { | |
margin-right: 0; | |
} |
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='column'>1</div> | |
<div class='column'>2</div> | |
<div class='column'>3</div> | |
<div class='column'>4</div> | |
<div class='column'>5</div> | |
<div class='column'>6</div> | |
<div class='column'>7</div> | |
<div class='column'>8</div> | |
<div class='column'>9</div> | |
<div class='column'>10</div> | |
<div class='column'>11</div> | |
<div class='column'>12</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment