Created
November 14, 2014 19:23
-
-
Save scottkellum/18188866d95ef85edff3 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> | |
<aside> | |
<div>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</div> | |
<div>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</div> | |
<div>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</div> | |
<div>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</div> | |
</aside> | |
</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.2.19) | |
// Compass (v0.12.6) | |
// ---- | |
* { | |
box-sizing: border-box; | |
} | |
body { | |
padding: 1em; | |
} | |
article { | |
background: blue; | |
display: table; | |
max-width: 60em; | |
margin: 0 auto; | |
padding: 1em 0; | |
} | |
aside { | |
background: red; | |
display: table; | |
margin: 0 (-2em / 2); | |
} | |
div { | |
padding: 0 (2em / 2); | |
float: left; | |
} | |
div:nth-child(1) { | |
width: percentage(1/12); | |
} | |
div:nth-child(2) { | |
width: percentage(7/12); | |
} | |
div:nth-child(3) { | |
width: percentage(2/12); | |
} | |
div:nth-child(4) { | |
width: percentage(2/12); | |
} |
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
* { | |
box-sizing: border-box; | |
} | |
body { | |
padding: 1em; | |
} | |
article { | |
background: blue; | |
display: table; | |
max-width: 60em; | |
margin: 0 auto; | |
padding: 1em 0; | |
} | |
aside { | |
background: red; | |
display: table; | |
margin: 0 -1em; | |
} | |
div { | |
padding: 0 1em; | |
float: left; | |
} | |
div:nth-child(1) { | |
width: 8.33333%; | |
} | |
div:nth-child(2) { | |
width: 58.33333%; | |
} | |
div:nth-child(3) { | |
width: 16.66667%; | |
} | |
div:nth-child(4) { | |
width: 16.66667%; | |
} |
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> | |
<aside> | |
<div>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</div> | |
<div>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</div> | |
<div>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</div> | |
<div>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</div> | |
</aside> | |
</article> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment