index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Calendar</title>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="css/frame.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<container class="container container-fullwidth">
<header class="page-row row">
<h3>Header</h3>
</header>
<div class="page-row row page-row-expanded">
<div class="col-md-4 sidebar">
<h4>Sidebar</h4>
</div>
<div class="col-md-8 main">
<h1>Main Content</h1>
</div>
</div>
<footer class="page-row row">
<div class="cell">
<h4>Footer</h4>
</div>
</footer>
</container>
<!-- jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="js/myjs.js"></script>
</body>
</html>
css
html,
body, container {
height: 100%;
margin: 0;
padding: 0;
}
body, container {
display: table;
width: 100%;
}
header {
background-color: #333;
color: #fff;
}
.sidebar {
background-color: #EEE;
display: table-cell;
height: 100%;
}
.main {
background-color: #999;
height: 100%;
}
.page-row {
display: table-row;
height: 1px;
}
.page-row-expanded {
height: 100%;
}