Created
February 12, 2016 03:16
-
-
Save carwin/71ce1bfbc3a3899ae7af 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
<div class="container"> | |
<div class="A"><img src="http://placehold.it/1000x500" /></div> | |
<div class="B"> | |
<div class="C"><img src="http://placehold.it/500x500" /></div> | |
<div class="D"><img src="http://placehold.it/500x500" /></div> | |
</div> | |
</div> |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
@import "susy"; | |
.container { | |
width: 1000px; | |
margin: 0 auto; | |
} | |
.A, | |
.B { | |
@include span(12 of 12); | |
padding: 0 20px; | |
} | |
.A { | |
margin-bottom: gutter(12); | |
} | |
.C, | |
.D { | |
@include span(6 of 12); | |
} | |
.D { | |
@include last; | |
} |
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
.container { | |
width: 1000px; | |
margin: 0 auto; | |
} | |
.A, | |
.B { | |
width: 100%; | |
float: left; | |
margin-left: 0; | |
margin-right: 0; | |
padding: 0 20px; | |
} | |
.A { | |
margin-bottom: 1.69492%; | |
} | |
.C, | |
.D { | |
width: 49.15254%; | |
float: left; | |
margin-right: 1.69492%; | |
} | |
.D { | |
float: right; | |
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
<div class="container"> | |
<div class="A"><img src="http://placehold.it/1000x500" /></div> | |
<div class="B"> | |
<div class="C"><img src="http://placehold.it/500x500" /></div> | |
<div class="D"><img src="http://placehold.it/500x500" /></div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment