Created
May 7, 2015 02:39
-
-
Save barretlee/0643e16a45d1a0040204 to your computer and use it in GitHub Desktop.
LVErmW
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="demo"> | |
<div class="core"> | |
<div class="core-wrap"> | |
<div class="nav">Nav</div> | |
<div class="ads-wrap"> | |
<div class="ads">Ads</div> | |
<div class="main">Main</div> | |
</div> | |
<div class="conve">Conve</div> | |
</div> | |
</div> | |
<div class="side">Side</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
div { | |
border: 1px solid #666; | |
padding: 20px; | |
text-align: center; | |
line-height: 100px; | |
margin: 2px; | |
font-size: 20px; | |
} | |
.demo { | |
width: 990px; | |
margin: 0 auto; | |
} | |
.nav { | |
background: #324522; | |
color: white; | |
} | |
.core { | |
float: left; | |
width: 100%; | |
} | |
.core-wrap { | |
margin: 0 0 0 210px; | |
} | |
.side { | |
float: left; | |
width: 200px; | |
margin-left: -100%; | |
height: 408px; | |
line-height: 408px; | |
background: orange; | |
color: white; | |
} | |
.ads-wrap { | |
width: 100%; | |
float: left; | |
} | |
.ads { | |
margin-right: 260px; | |
height: 295px; | |
line-height: 295px; | |
background: yellow; | |
} | |
.conve { | |
float: left; | |
width: 250px; | |
margin-left: -260px; | |
height: 500px; | |
line-height: 500px; | |
background: green; | |
color: white; | |
} | |
.main { | |
background: #999; | |
color: white; | |
clear: left; | |
width: 720px; | |
float: left; | |
margin-left: -210px; | |
height: 200px; | |
line-height: 200px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment