Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
- <style>
- html, body, #react-root {
- height: 100%;
- margin: 0;
- }
- body {
- height: 100%;
- width: 100%;
- }
- .site-container {
- display: table;
- height: 100%;
- width: 100%;
- }
- .site-row {
- display: table-row;
- height: 1px;
- overflow: hidden;
- }
- .site-row.expand {
- height: auto;
- }
- .site-row.expand .inner-expand {
- height: 100%;
- display: table-cell;
- }
- html>/**/body .site-container {
- height: 100%;
- }
- html>body .site-row.expand {
- height: auto;
- }
- .height-inherit {
- height: inherit;
- }
- .center-content {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- flex-direction: column;
- justify-content: center;
- vertical-align: middle;
- align-content: center;
- align-items: center;
- }
- </style>
- </head>
- <body>
- <div id="react-root">
- <div class="site-container">
- <header class="site-row">
- Header
- </header>
- <div class="site-row expand">
- <div class="inner-expand">
- <div class="container height-inherit">
- <div class="height-inherit center-content">
- <div>
- Content
- </div>
- </div>
- </div>
- </div>
- </div>
- <footer class="site-row">
- Footer
- </footer>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement