Created
September 24, 2014 21:31
-
-
Save krisnod/41a712961e936c83d8eb to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains 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="page"> | |
<div class="header"> | |
Header | |
</div> | |
<div class="main"> | |
<div class="main-left"> | |
<div class="main-left-container"> | |
<p>Main-Left</p> | |
</div> | |
</div> | |
<div class="main-right"> | |
<div class="main-right-container"> | |
<p>Main-Right</p> | |
<p>Main-Right</p> | |
</div> | |
</div> | |
<div style="clear: left;"> | |
</div> | |
</div> | |
<div class="footer"> | |
Footer | |
</div> | |
</div> |
This file contains 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.4) | |
// Compass (v1.0.1) | |
// Susy (v2.1.3) | |
// ---- | |
@import 'susy'; | |
$susy: ( | |
columns: 12, | |
gutters: 0, | |
math: fluid | |
); | |
// Container | |
.page { | |
@include container(); | |
background: black; | |
} | |
// Layout | |
.header { | |
color: #fff; | |
background: green; | |
} | |
.pagenav { | |
clear: both; | |
} | |
.main { | |
clear: both; | |
position: relative; | |
z-index: 1; | |
width: 100%; | |
background: #eee; | |
.main-left { | |
@include span(3); | |
.main-left-container { | |
padding: 0 2%; | |
} | |
position: relative; | |
} | |
.main-right { | |
@include span(9) ; | |
position: relative; | |
.main-right-container { | |
padding: 0 2%; | |
} | |
} | |
} | |
.main:before { | |
content: " "; | |
position: absolute; | |
top: 10%; | |
z-index: -1; | |
left: span(3); | |
width: span(9); | |
height: 80%; | |
border-left: 1px solid black; | |
} | |
.footer { | |
color: #fff; | |
background: green; | |
clear: both; | |
} | |
This file contains 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
.page { | |
max-width: 100%; | |
margin-left: auto; | |
margin-right: auto; | |
background: black; | |
} | |
.page:after { | |
content: " "; | |
display: block; | |
clear: both; | |
} | |
.header { | |
color: #fff; | |
background: green; | |
} | |
.pagenav { | |
clear: both; | |
} | |
.main { | |
clear: both; | |
position: relative; | |
z-index: 1; | |
width: 100%; | |
background: #eee; | |
} | |
.main .main-left { | |
width: 25%; | |
float: left; | |
position: relative; | |
} | |
.main .main-left .main-left-container { | |
padding: 0 2%; | |
} | |
.main .main-right { | |
width: 75%; | |
float: left; | |
position: relative; | |
} | |
.main .main-right .main-right-container { | |
padding: 0 2%; | |
} | |
.main:before { | |
content: " "; | |
position: absolute; | |
top: 10%; | |
z-index: -1; | |
left: 25%; | |
width: 75%; | |
height: 80%; | |
border-left: 1px solid black; | |
} | |
.footer { | |
color: #fff; | |
background: green; | |
clear: both; | |
} |
This file contains 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="page"> | |
<div class="header"> | |
Header | |
</div> | |
<div class="main"> | |
<div class="main-left"> | |
<div class="main-left-container"> | |
<p>Main-Left</p> | |
</div> | |
</div> | |
<div class="main-right"> | |
<div class="main-right-container"> | |
<p>Main-Right</p> | |
<p>Main-Right</p> | |
</div> | |
</div> | |
<div style="clear: left;"> | |
</div> | |
</div> | |
<div class="footer"> | |
Footer | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment