diff --git a/docs/4.0/examples/index.md b/docs/4.0/examples/index.md index 344d5be300..8546a86987 100644 --- a/docs/4.0/examples/index.md +++ b/docs/4.0/examples/index.md @@ -14,14 +14,14 @@ Examples that focus on implementing uses of built-in components provided by Boot
- +

Starter template

Nothing but the basics: compiled CSS and JavaScript.

- +

Grids

Multiple examples of grid layouts with all four tiers, nesting, and more.

@@ -30,14 +30,14 @@ Examples that focus on implementing uses of built-in components provided by Boot
- +

Jumbotron

Build around the jumbotron with a navbar and some basic grid columns.

- +

Narrow jumbotron

Build a more custom page by narrowing the default container and jumbotron.

@@ -51,14 +51,14 @@ Taking the default navbar component and showing how it can be moved, placed, and
- +

Navbar

Super basic template that includes the navbar along with some additional content.

- +

Static top navbar

Super basic template with a static top navbar along with some additional content.

@@ -67,11 +67,18 @@ Taking the default navbar component and showing how it can be moved, placed, and
- +

Fixed navbar

Super basic template with a fixed top navbar along with some additional content.

+
+ + +

Bottom navbar

+
+

Super basic template with a bottom navbar along with some additional content.

+
## Custom components @@ -81,14 +88,14 @@ Brand new components and templates to help folks quickly get started with Bootst
- +

Album

Simple one-page template for photo galleries, portfolios, and more.

- +

Cover

A one-page template for building simple and beautiful home pages.

@@ -97,14 +104,14 @@ Brand new components and templates to help folks quickly get started with Bootst
- +

Carousel

Customize the navbar and carousel, then add some new components.

- +

Blog

Simple two-column blog layout with custom navigation, header, and type.

@@ -113,14 +120,14 @@ Brand new components and templates to help folks quickly get started with Bootst
- +

Dashboard

Basic admin dashboard shell with fixed sidebar and navbar.

- +

Sign-in page

Custom form layout and design for a simple sign in form.

@@ -129,14 +136,14 @@ Brand new components and templates to help folks quickly get started with Bootst
- +

Justified nav

Create a custom navbar with justified links. Heads up! Not too Safari friendly.

- +

Sticky footer

Attach a footer to the bottom of the viewport when the content is shorter than it.

@@ -145,7 +152,7 @@ Brand new components and templates to help folks quickly get started with Bootst
- +

Sticky footer w/ navbar

Attach a footer to the bottom of the viewport with a fixed top navbar.

@@ -159,7 +166,7 @@ Examples that focus on future-friendly features or techniques.
- +

Offcanvas

Build a toggleable off-canvas navigation menu for use with Bootstrap.

diff --git a/docs/4.0/examples/navbar-bottom/index.html b/docs/4.0/examples/navbar-bottom/index.html new file mode 100644 index 0000000000..3046f9b9ba --- /dev/null +++ b/docs/4.0/examples/navbar-bottom/index.html @@ -0,0 +1,60 @@ + + + + + + + + + + Bottom navbar example for Bootstrap + + + + + + +
+
+

Bottom Navbar example

+

This example is a quick exercise to illustrate how the bottom navbar works.

+ View navbar docs » +
+
+ + + + + + + + + + diff --git a/docs/4.0/examples/screenshots/navbar-bottom.jpg b/docs/4.0/examples/screenshots/navbar-bottom.jpg new file mode 100644 index 0000000000..c25c2f89cf Binary files /dev/null and b/docs/4.0/examples/screenshots/navbar-bottom.jpg differ diff --git a/scss/_navbar.scss b/scss/_navbar.scss index 1398400c03..a0ccc06fb7 100644 --- a/scss/_navbar.scss +++ b/scss/_navbar.scss @@ -74,6 +74,13 @@ position: static; float: none; } + + .dropdown-toggle { + &::after { + border-top: $caret-width solid; + border-bottom: 0; + } + } } @@ -144,6 +151,18 @@ padding-right: 0; padding-left: 0; } + + .dropup { + .dropdown-menu { + position: absolute; + top: auto; + bottom: 100%; + } + + .dropdown-toggle { + @include caret(up); + } + } } @include media-breakpoint-up($next) {