Last active
September 23, 2016 07:02
-
-
Save voidove/f152a8c8a054233d06dc0bcc5c8becc5 to your computer and use it in GitHub Desktop.
three column absolute
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
/** | |
* three column absolute | |
*/ | |
.wrapper { | |
position: relative; | |
} | |
.left { | |
width: 200px; | |
height: 200px; | |
border: 1px solid red; | |
position: absolute; | |
left: 0; | |
right: 0; | |
} | |
.right { | |
width: 200px; height: 200px; border: 1px solid blue; | |
position: absolute; | |
right: 0; | |
top: 0; | |
} | |
.middle { | |
border: 1px solid grey; | |
height: 220px; | |
padding-left: 230px; | |
padding-right: 230px; | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
<div class="wrapper"> | |
<div class="left"></div> | |
<div class="middle"></div> | |
<div class="right"></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
// alert('Hello world!'); |
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
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment