Answer the question
In order to leave comments, you need to log in
How to pinch footer in MaterializeCSS?
There is a css framework materilizecss. There is a footer on the site, but I want it to always be pressed to the bottom of the page, regardless of the amount of content, and also so that the footer itself is not on top of the text (position: abolute is not suitable).
<footer class="page-footer footer-bottom">
<div class="footer-copyright">
<div class="container">
© 2017 Дмитрий Кузнецов</a>
<a class="grey-text text-lighten-4 right" href="#!">More Links</a>
</div>
</div>
</footer>
Answer the question
In order to leave comments, you need to log in
In general, I usually do this:
for a block with content (without a header and footer), set the minimum height using calc
min-height: calc(100vh - X); - where 'X' is how many pixels, just change the number of pixels through the developer tools until the footer is straight and the scrollbar disappears.
No absolutes and other crutches, nothing runs over and with one
property /
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question