Created by: ssorallen
I tried using the carousel example's CSS from the 2.3.x branch for a project and noticed that it didn't work well on pages without a carousel. This keeps the carousel example working the same and lets the floating navbar be used on pages without carousels.
Specificity change:
The specificity change was specific to the 3.x branch. Slides were not the height of the container:
Matching specificity fixed it:
Navbar change:
Hiding the carousel shows these styles don't work well without a carousel:
Letting the navbar flow and moving the negative margin means the carousel still works, and the styles can be used on carousel-free pages: