Skip to content

Instantly share code, notes, and snippets.

@alexanderfrankel
Created May 23, 2014 00:44
Show Gist options
  • Save alexanderfrankel/5d852b6ce94a9a9e424d to your computer and use it in GitHub Desktop.
Save alexanderfrankel/5d852b6ce94a9a9e424d to your computer and use it in GitHub Desktop.
Untitled
#box1 {
background-color: blue;
height: 100px;
margin: 0;
width: 100px;
position: absolute;
top: 0;
left: 0;
}
#box2 {
background-color: yellow;
height: 100px;
margin: 0;
width: 100px;
position: absolute;
bottom: 0;
right: 0;
}
#box3 {
background-color: red;
height: 100px;
margin: 0;
width: 100px;
position: absolute;
bottom: 0;
left: 0;
}
#box4 {
background-color: green;
height: 100px;
margin: 0;
width: 100px;
position: absolute;
top: 0;
right: 0;
}
#box5 {
background-color: pink;
height: 20px;
margin: 0;
width: 20px;
position: absolute;
top: 40px;
right: 40px;
}
#box6 {
background-color: black;
height: 20px;
margin: 0;
width: 20px;
position: absolute;
top: 40px;
right: 40px;
}
#box7 {
background-color: green;
height: 20px;
margin: 0;
width: 20px;
position: absolute;
top: 40px;
right: 40px;
}
#box8 {
background-color: white;
height: 20px;
margin: 0;
width: 20px;
position: absolute;
top: 40px;
right: 40px;
}
<div id="box1">
<div id="box5"></div>
</div>
<div id="box2">
<div id="box6"></div>
</div>
<div id="box3">
<div id="box7"></div>
</div>
<div id="box4">
<div id="box8"></div>
</div>
// alert('Hello world!');
{"view":"split","fontsize":"90","seethrough":"","prefixfree":"","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment