- ? . bootstrap.css .
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<style>
body{
width: 100%;
height: 100%;
color: #fff;
}
header, footer{
height: 100px;
}
header{
width: 100%;
background: #000;
}
.content-container{
width: 100%;
position: relative;
}
.left-container{
width: calc(100% - 90px);
height: 100%;
}
.right-container{
width: 90px;
height: 100%;
position: absolute;
right: 0;
top: 0;
background: blue;
}
.main-content{
height: 500px;
background: #ff0000;
}
footer{
width: 100%;
background: #ed1899;
}
</style>
</head>
<body>
<div class="container-fluid">
<div class="row">
<header class="nav">nav bar</header>
<div class="content-container">
<div class="left-container">
<div class="main-content">
//main content
</div>
<footer>
//footer content
</footer>
</div>
<div class="right-container">buttons</div>
</div>
</div>
</div>
</body>
</html>