1
Fork 0

Stick footer to bottom, finally

This commit is contained in:
Jake Howard 2016-03-20 14:03:12 +00:00
parent e4c438450b
commit c420e79ff0
2 changed files with 9 additions and 1 deletions

View file

@ -73,8 +73,14 @@ img {
/* @end Functional */
.content-wrapper {
min-height: %(~"calc(100% - %d)", @footer-height);
}
/* @group Footer */
@footer-height: 200px;
footer {
height: @footer-height;
width: 100%;
text-align: center;
padding-top: 10px;

View file

@ -10,7 +10,9 @@
<link rel="shortcut icon" href=""/>
</head>
<body class="{{ body_class }}">
{% block baseContent%}{% endblock %}
<div class="content-wrapper">
{% block baseContent%}{% endblock %}
</div>
<footer>
<div class="container">
<div class="row">