html - Reducing the height of navbar (without compromising the beauty) so that it gets chucked with the slider -
I was writing a page when I had a problem stopping. I have made a menu-bar or navbar in the bootstrap, I have just one slider under the navbar. But there is an extra space between the navbar and the slider. When I debug, I came to know that the extra space was Navbar's. How can I remove the white space between the navarbars and the slider so that they are connected with each other.
Here's one.
By default, the bootstrap navbar contains a 20 pixel margin if you override the default bootstrap css and margins Remove, they will connect.
Add it to your CSS:
.navbar {margin-bottom: 0px; } Updated to Bela here:
Comments
Post a Comment