Created
April 10, 2014 21:37
-
-
Save trub/10425783 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
| // ---- | |
| // Sass (v3.3.4) | |
| // Compass (v1.0.0.alpha.18) | |
| // Bourbon (v) | |
| // Neat (v) | |
| // ---- | |
| @import "bourbon/bourbon"; | |
| @import "neat/neat"; | |
| $grid-columns: 4; | |
| //float right(RT) margin left(L) | |
| //$default-layout-direction: RTL; | |
| //float left (LT) margin right(R) | |
| //$default-layout-direction: LTR; | |
| .responsive-element { | |
| @include media(max-width 1024px max-width 320px 8) { | |
| //always need the concept of context so at given | |
| // you can redefine scope of context @ breakpoint | |
| @include span-columns(3 4); | |
| } | |
| } |
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
| * { | |
| -webkit-box-sizing: border-box; | |
| -moz-box-sizing: border-box; | |
| box-sizing: border-box; | |
| } | |
| @media screen and (max-width: 1024px) and (max-width: 320px) { | |
| .responsive-element { | |
| float: left; | |
| display: block; | |
| margin-right: 7.42297%; | |
| width: 73.14426%; | |
| } | |
| .responsive-element:last-child { | |
| margin-right: 0; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment