Skip to content

Instantly share code, notes, and snippets.

@jw56578
Created November 14, 2016 01:25
Show Gist options
  • Save jw56578/37f65727f9f3933000f409ac8fbc964a to your computer and use it in GitHub Desktop.
Save jw56578/37f65727f9f3933000f409ac8fbc964a to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=37f65727f9f3933000f409ac8fbc964a
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<div id='canvas'>
<div id='one'>
<div id="three">
3
</div>
</div>
<div id='two'>
<div >
</div>
</div>
</div>
</body>
</html>
div{
float:left;
}
#canvas{
height:400px;
width:500px;
background-color:lightgray;
}
#one{
width:20%;
height:100%;
background-color:yellow;
}
#two{
width:80%;
height:100%;
background-color:pink;
}
#three{
width:100%;
height:30%;
background-color:red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment