Full page layout with header

Full page layout with header. Bootstrap added for extra fun.

by davidpauljunior

HTML

<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css">
<div class="page-full">
    <div class="table-full">
        <div class="table-row">
            <header id="global-header" class="table-cell">
                header
            </header>
        </div>
        <div class="table-row">
            <div class="table-cell hero home">
                <div class="inner">
                    <div class="container">
                        Content that's 100% high
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

SCSS

html, body {
    height: 100%;
}

.page-full {
    height: 100%;
    .table-full {
        height: 100%;
        width: 100%;
        display: table;
        .table-row {
            display: table-row;
            .table-cell {
                display: table-cell;
                &.hero {
                    height: 100%;
                    vertical-align: middle;
                    background-position: 0 50%;
                    background-repeat: no-repeat;
                    background-size: cover;
                    .inner {
                        padding: 50px 20px;
                    }
                }
            }
        }
    }
}

#global-header {
    background: white;
    padding: 20px 30px;
}
// Set Backgrounds
.table-cell.hero {
    &.home {
        background-image: url('http://www.illuminita.com/wp-content/uploads/2013/11/space-lols.jpg');
    }
}