Skip to content

Instantly share code, notes, and snippets.

@Snugug
Created July 23, 2015 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Snugug/c739c426375326eaf9e6 to your computer and use it in GitHub Desktop.
Save Snugug/c739c426375326eaf9e6 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<article>Content</article>
<aside>Sidebar</aside>
// ----
// libsass (v3.2.5)
// ----
@import "singularitygs";
@import "breakpoint";
aside,
article {
height: 100vh;
color: white;
}
aside {
background: red;
@include breakpoint(508px) {
@include grid-span(4, 1);
}
}
article {
background: blue;
@include breakpoint(508px) {
@include grid-span(8, 5)
}
}
aside,
article {
height: 100vh;
color: white;
}
aside {
background: red;
}
@media (min-width: 508px) {
aside {
width: 32.20339%;
float: left;
margin-right: -100%;
margin-left: 0;
clear: none;
}
}
article {
background: blue;
}
@media (min-width: 508px) {
article {
width: 66.10169%;
float: right;
margin-left: 0;
margin-right: 0;
clear: none;
}
}
<article>Content</article>
<aside>Sidebar</aside>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment