Created
April 22, 2015 11:18
-
-
Save torleifhalseth/8e70f375a699a9f6929e 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
<article> | |
<ul> | |
<li></li> | |
<li></li> | |
<li></li> | |
<li></li> | |
</ul> | |
</article> |
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.12) | |
// Compass (v1.0.3) | |
// Bourbon (v4.2.0) | |
// Neat (v1.6.0) | |
// ---- | |
@import "bourbon/bourbon"; | |
@import "neat/neat"; | |
$s-viewport: new-breakpoint(max-width 480px); | |
article { | |
@include outer-container; | |
background-color: blue; | |
} | |
ul { | |
margin: 0; | |
padding: 0; | |
li { | |
list-style: none; | |
min-height: 100px; | |
background: red; | |
margin-top: 10px; | |
margin-bottom: 10px; | |
@include media($s-viewport) { | |
@include span-columns(6); | |
&:nth-of-type(2n){ | |
@include omega; | |
} | |
} | |
} | |
} |
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; | |
} | |
article { | |
*zoom: 1; | |
max-width: 68em; | |
margin-left: auto; | |
margin-right: auto; | |
background-color: blue; | |
} | |
article:before, article:after { | |
content: " "; | |
display: table; | |
} | |
article:after { | |
clear: both; | |
} | |
ul { | |
margin: 0; | |
padding: 0; | |
} | |
ul li { | |
list-style: none; | |
min-height: 100px; | |
background: red; | |
margin-top: 10px; | |
margin-bottom: 10px; | |
} | |
@media screen and (max-width: 480px) { | |
ul li { | |
float: left; | |
display: block; | |
margin-right: 2.35765%; | |
width: 48.82117%; | |
} | |
ul li:last-child { | |
margin-right: 0; | |
} | |
ul li:nth-of-type(2n) { | |
margin-right: 0; | |
} | |
} |
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
<article> | |
<ul> | |
<li></li> | |
<li></li> | |
<li></li> | |
<li></li> | |
</ul> | |
</article> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment