diff options
| author | Mark Otto <[email protected]> | 2013-07-05 12:23:14 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-07-05 12:23:14 -0700 |
| commit | 3279181f4253eb37cae61ecc1a3842c3d559ea49 (patch) | |
| tree | 632f001655da14441b367103d52391313b1c1e46 /docs | |
| parent | dd691b5c3687d706969fe05b8b2e04ece4558d41 (diff) | |
| parent | 5b69d3405301ebf9f7047a459f727cbe5f73aedd (diff) | |
| download | bootstrap-3279181f4253eb37cae61ecc1a3842c3d559ea49.tar.xz bootstrap-3279181f4253eb37cae61ecc1a3842c3d559ea49.zip | |
Merge pull request #8378 from liuyl/aftertosibling
optimize breadcrumb
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 8 | ||||
| -rw-r--r-- | docs/components.html | 2 |
2 files changed, 3 insertions, 7 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index a576aa968..700777393 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -3285,15 +3285,11 @@ button.close { text-shadow: 0 1px 0 #fff; } -.breadcrumb > li:after { +.breadcrumb > li + li:before { display: inline-block; padding: 0 5px; color: #ccc; - content: "\00a0 /"; -} - -.breadcrumb > li:last-child:after { - display: none; + content: "/\00a0"; } .breadcrumb > .active { diff --git a/docs/components.html b/docs/components.html index 79b00e991..4e763d6d4 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1016,7 +1016,7 @@ body { padding-bottom: 70px; } <h1>Breadcrumbs <small></small></h1> </div> <p class="lead">Indicate the current page's location within a navigational hierarchy.</p> - <p>Separators are automatically added in CSS through <code>:after</code> and <code>content</code>.</p> + <p>Separators are automatically added in CSS through <code>:before</code> and <code>content</code>.</p> <div class="bs-example"> <ul class="breadcrumb"> <li class="active">Home</li> |
