JSFiddle - React, Tailwind, and code Playground
by Peter Galiba
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
<div class="main">
<div class="content">
<div class="left">
Left <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
</div>
<div class="right">
Right <br /><br /><br /><br /><br /><br /><br /><br /><br />
<div class="buttons2">Buttons2</div>
</div>
</div>
<div class="footer">
Footer
<div class="buttons">Buttons</div>
</div>
</div>
</body>
</html>
CSS
.content {
background: lightgray;
margin-bottom: 20px;
overflow: hidden;
}
.left {
float: left;
width: 150px;
background: green;
}
.right {
float: right;
width: 200px;
background: yellow;
position:relative;
}
.buttons2 {
top: -10px;
right: 0;
background: red;
position: absolute;
}
.footer {
background-color: darkgray;
height: 80px;
margin-right: 20px;
position: relative;
}
.buttons {
bottom: 0;
right: 0;
height: 160px;
background: darkgray;
width: 80px;
position: absolute;
}