I have a navbar footer for my webpage. There are 2 possible options that I know of: navbar-fixed-bottom and navbar-bottom. The problem is that I want my website to look good on different resolutions. On a high resolution that makes my whole website fit, navbar-fixed-bottom is ideal. If I use navbar-bottom, the footer stays at the bottom of the content, not at the bottom of the screen. On a low resolution, that makes it require scrolling, navbar-bottom is perfect, as I don't want to see the navbar everytime.
So basically I want the following behaviour: if the website fits on the screen, the footer should be at the bottom of the screen. If it doesn't fit, the footer should be at the end of the content. How can I achieve such behaviour?