Created
November 6, 2014 20:39
-
-
Save jdsteinbach/fa7a75c955a24533d542 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
| .grid-1 | |
| .col-1 | |
| .col-2 | |
| .col-3 | |
| .grid-2 | |
| .col-1 | |
| .col-2 | |
| .col-3 |
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.4.7) | |
| // Compass (v1.0.1) | |
| // Breakpoint (v2.5.0) | |
| // Singularity.gs (v1.4.0) | |
| // ---- | |
| @import "breakpoint"; | |
| @import "singularitygs"; | |
| * { | |
| &, | |
| &::after, | |
| &::before { | |
| box-sizing: border-box; | |
| } | |
| } | |
| div { | |
| background: rgba(black, .125); | |
| border: 1px solid gray; | |
| height: 5em; | |
| } | |
| .grid-1 { | |
| @include add-grid(.25 8 .25); | |
| @include add-gutter(1/4); | |
| } | |
| .grid-2 { | |
| @include add-grid(1 32 1); | |
| @include add-gutter(1/4); | |
| } | |
| .col-1 { | |
| @include grid-span(1, 1); | |
| } | |
| .col-2 { | |
| @include grid-span(1, 2); | |
| } | |
| .col-3 { | |
| @include grid-span(1, 3); | |
| } |
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
| *, *::after, *::before { | |
| box-sizing: border-box; | |
| } | |
| div { | |
| background: rgba(0, 0, 0, 0.125); | |
| border: 1px solid gray; | |
| height: 5em; | |
| } | |
| .col-1 { | |
| width: 2.8985507246%; | |
| float: left; | |
| margin-right: -100%; | |
| margin-left: 0; | |
| clear: none; | |
| } | |
| .col-2 { | |
| width: 92.7536231884%; | |
| float: left; | |
| margin-right: -100%; | |
| margin-left: 3.6231884058%; | |
| clear: none; | |
| } | |
| .col-3 { | |
| width: 2.8985507246%; | |
| float: right; | |
| margin-left: 0; | |
| margin-right: 0; | |
| clear: none; | |
| } |
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 class='grid-1'> | |
| <div class='col-1'></div> | |
| <div class='col-2'></div> | |
| <div class='col-3'></div> | |
| </div> | |
| <div class='grid-2'> | |
| <div class='col-1'></div> | |
| <div class='col-2'></div> | |
| <div class='col-3'></div> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment