mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
tweak the position of the fixed to top/bottom navbars to remove double border
This commit is contained in:
parent
ec9b01e691
commit
ba7b1e8234
@ -870,7 +870,7 @@ title: Components
|
||||
<h3>Fixed to top</h3>
|
||||
<p>Add <code>.navbar-fixed-top</code> and remember to account for the hidden area underneath it by adding at least 40px <code>padding</code> to the <code><body></code>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.</p>
|
||||
<div class="bs-docs-example bs-navbar-top-example">
|
||||
<div class="navbar navbar-fixed-top" style="position: absolute;">
|
||||
<div class="navbar navbar-fixed-top" style="position: absolute; top: -1px;">
|
||||
<div class="container" style="width: auto;">
|
||||
<a class="navbar-brand" href="#">Title</a>
|
||||
<ul class="nav">
|
||||
@ -890,7 +890,7 @@ title: Components
|
||||
<h3>Fixed to bottom</h3>
|
||||
<p>Add <code>.navbar-fixed-bottom</code> instead.</p>
|
||||
<div class="bs-docs-example bs-navbar-bottom-example">
|
||||
<div class="navbar navbar-fixed-bottom" style="position: absolute;">
|
||||
<div class="navbar navbar-fixed-bottom" style="position: absolute;; bottom: -1px;">
|
||||
<div class="container" style="width: auto;">
|
||||
<a class="navbar-brand" href="#">Title</a>
|
||||
<ul class="nav">
|
||||
|
Loading…
x
Reference in New Issue
Block a user