Skip to content

Instantly share code, notes, and snippets.

@vibecode
Forked from kovaldn/main.css
Created Aug 22, 2016
Embed
What would you like to do?
CSS: footer
<div class="wrapper">
<div class="main-content">
</div>
</div>
<footer class="page-footer">
</footer>
/* прибьём футер к низу*/
.wrapper{
position:relative;
min-height:100%;
height:auto!important;
overflow:hidden;
}
.wrapper:after {
content: "";
height: 80px;
display: block;
}
.page-footer{
height: 80px;
margin-top: -80px;
}
/* прибьём футер к низу - конец*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment