Skip to content

Instantly share code, notes, and snippets.

@voidove
Last active September 23, 2016 07:02
Show Gist options
  • Save voidove/f152a8c8a054233d06dc0bcc5c8becc5 to your computer and use it in GitHub Desktop.
Save voidove/f152a8c8a054233d06dc0bcc5c8becc5 to your computer and use it in GitHub Desktop.
three column absolute
/**
* 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;
}
<!-- content to be placed inside <body>…</body> -->
<div class="wrapper">
<div class="left"></div>
<div class="middle"></div>
<div class="right"></div>
</div>
// alert('Hello world!');
{"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