2017-10-03 18:34:59 +02:00
<!doctype html>
2018-07-25 02:40:55 +02:00
< html lang = "en" class = "h-100" >
2013-06-24 02:17:08 +02:00
< head >
< meta charset = "utf-8" >
2015-10-06 13:35:39 +02:00
< meta name = "viewport" content = "width=device-width, initial-scale=1, shrink-to-fit=no" >
2013-06-24 02:17:08 +02:00
< meta name = "description" content = "" >
< meta name = "author" content = "" >
2017-07-16 15:19:20 +02:00
< link rel = "icon" href = "../../../../favicon.ico" >
2013-06-24 02:17:08 +02:00
2013-07-21 08:17:01 +02:00
< title > Sticky Footer Navbar Template for Bootstrap< / title >
2013-06-24 02:17:08 +02:00
<!-- Bootstrap core CSS -->
2018-06-21 06:31:38 +02:00
< link href = "../../dist/css/bootstrap.min.css" rel = "stylesheet" >
2013-06-24 02:17:08 +02:00
<!-- Custom styles for this template -->
2013-07-21 08:30:08 +02:00
< link href = "sticky-footer-navbar.css" rel = "stylesheet" >
2013-06-24 02:17:08 +02:00
< / head >
2018-07-25 02:40:55 +02:00
< body class = "d-flex flex-column h-100" >
2013-06-24 02:17:08 +02:00
2017-09-13 20:51:08 +02:00
< header >
<!-- Fixed navbar -->
< nav class = "navbar navbar-expand-md navbar-dark fixed-top bg-dark" >
< a class = "navbar-brand" href = "#" > Fixed navbar< / a >
< button class = "navbar-toggler" type = "button" data-toggle = "collapse" data-target = "#navbarCollapse" aria-controls = "navbarCollapse" aria-expanded = "false" aria-label = "Toggle navigation" >
< span class = "navbar-toggler-icon" > < / span >
< / button >
< div class = "collapse navbar-collapse" id = "navbarCollapse" >
< ul class = "navbar-nav mr-auto" >
< li class = "nav-item active" >
< a class = "nav-link" href = "#" > Home < span class = "sr-only" > (current)< / span > < / a >
< / li >
< li class = "nav-item" >
< a class = "nav-link" href = "#" > Link< / a >
< / li >
< li class = "nav-item" >
< a class = "nav-link disabled" href = "#" > Disabled< / a >
< / li >
< / ul >
< form class = "form-inline mt-2 mt-md-0" >
< input class = "form-control mr-sm-2" type = "text" placeholder = "Search" aria-label = "Search" >
< button class = "btn btn-outline-success my-2 my-sm-0" type = "submit" > Search< / button >
< / form >
< / div >
< / nav >
< / header >
2013-06-24 02:17:08 +02:00
2014-02-04 13:56:42 +01:00
<!-- Begin page content -->
2018-07-25 02:40:55 +02:00
< main role = "main" class = "flex-shrink-0" >
< div class = "container" >
< h1 class = "mt-5" > Sticky footer with fixed navbar< / h1 >
< p class = "lead" > Pin a footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with < code > padding-top: 60px;< / code > on the < code > main > .container< / code > .< / p >
2018-09-14 16:49:59 +02:00
< p > Back to < a href = "../sticky-footer/" > the default sticky footer< / a > minus the navbar.< / p >
2018-07-25 02:40:55 +02:00
< / div >
2017-09-13 20:51:08 +02:00
< / main >
2013-06-24 02:17:08 +02:00
2018-07-25 02:40:55 +02:00
< footer class = "footer mt-auto py-3" >
2013-06-24 02:17:08 +02:00
< div class = "container" >
2015-12-08 07:05:37 +01:00
< span class = "text-muted" > Place sticky footer content here.< / span >
2013-06-24 02:17:08 +02:00
< / div >
2014-10-29 21:07:13 +01:00
< / footer >
2013-06-24 02:17:08 +02:00
2013-07-30 19:10:34 +02:00
<!-- Bootstrap core JavaScript
================================================== -->
2013-08-17 21:32:11 +02:00
<!-- Placed at the end of the document so the pages load faster -->
2018-01-23 07:18:33 +01:00
< script src = "https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity = "sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin = "anonymous" > < / script >
2018-06-21 06:31:38 +02:00
< script > window . jQuery || document . write ( '<script src="../../assets/js/vendor/jquery-slim.min.js"><\/script>' ) < / script >
2018-09-14 15:09:12 +02:00
< script src = "../../dist/js/bootstrap.bundle.min.js" > < / script >
2013-06-24 02:17:08 +02:00
< / body >
2013-08-17 21:32:11 +02:00
< / html >