body { -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } .navbar-wrapper { position: absolute; top: 0; left: 0; right: 0; z-index: 10; } .navbar-wrapper { margin-top: 20px; margin-bottom: -90px; /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */ } /* The navbar becomes detached from the top, so we round the corners */ .navbar-wrapper .navbar { border-radius: 4px; }