0
I am using in several pages the Sticky position of Html5 to give an effect in the menu of the site.
But there are pages that the internal content is very small, does not occupy even 150px high and it turns out that I can not use the footer with position fixed
because it would cover a lot of content on the other pages, because it has a lot of information on it.
So what I’d like to do is sort of min-bottom
as well as the min-height
.
I use bootstrap 4 beta for the front end. Any tips?
Vc tested if flex will not break the bootstrap grid?
– Sam
Good morning, my friend. Yesterday I did not answer that I was studying yet, I will test today, but from what I saw in the documentation of bootstrap 4 itself incorporated flexbox. For example, it will work, yes, follow the link to someone who also uses: https://getbootstrap.com/docs/4.0/utilities/flex/ And thank you very much!
– Luiz
Tested. Your code only works by itself without the bootstrap classes, unfortunately, but with the bootstrap code it works if you use
height: inherit
inheriting the height 100% of thehtml
andbody
. Thanks.– Luiz
Hello. I think if the problem is overwritten CSS, you can use the directive
! important
. To learn more, see here.– Luiz Felipe