Skip to content

Instantly share code, notes, and snippets.

@yarekc
Created February 13, 2015 14:23
Show Gist options
  • Save yarekc/b70f747b3ccc0df62d03 to your computer and use it in GitHub Desktop.
Save yarekc/b70f747b3ccc0df62d03 to your computer and use it in GitHub Desktop.
ceneterd
<style>
html,body {
height: 100%;
width: 100%;
overflow: hidden;
}
.containerFull{
height:100%;
width: 100%;
display:table;
}
.row-fluid {
height: 100%;
display:table-cell;
vertical-align: middle;
}
</style>
</head>
<div class="containerFull">
<div class="row-fluid">
<div style="text-align: center">
Yeah I'm centered
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment