From: liuyl Date: Wed, 3 Jul 2013 12:37:36 +0000 (+0800) Subject: use sibling selector instead of pseudo selector X-Git-Tag: v3.0.0-rc1~185^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b69d3405301ebf9f7047a459f727cbe5f73aedd;p=thirdparty%2Fbootstrap.git use sibling selector instead of pseudo selector --- diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 87b021ee7f..dbe48cbaf0 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -3289,15 +3289,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 79b00e9913..4e763d6d4d 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1016,7 +1016,7 @@ body { padding-bottom: 70px; }

Breadcrumbs

Indicate the current page's location within a navigational hierarchy.

-

Separators are automatically added in CSS through :after and content.

+

Separators are automatically added in CSS through :before and content.