Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Help with Bootstrap NavBar Styling Re: Help with Bootstrap NavBar Styling

#130118
scottdc
Member

Hey,
I think what you are talking about / trying to do is achieved using z-index and negative margins. The z-index alters the stacking order and negative margins will allow one div to ‘slide’ underneath another. Only works on ‘positioned’ elements though so absolute, relative etc.

There is a tut on CSS Tricks .
https://css-tricks.com/almanac/properties/z/z-index/