mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
use sibling selector instead of pseudo selector
This commit is contained in:
@@ -12,15 +12,12 @@
|
||||
> li {
|
||||
display: inline-block;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
&:after {
|
||||
&+li:before {
|
||||
display: inline-block;
|
||||
content: "\00a0 /"; // Unicode space added since inline-block means non-collapsing white-space
|
||||
content: "/\00a0"; // Unicode space added since inline-block means non-collapsing white-space
|
||||
padding: 0 5px;
|
||||
color: #ccc;
|
||||
}
|
||||
&:last-child:after {
|
||||
display: none; // No divider after last element
|
||||
}
|
||||
}
|
||||
> .active {
|
||||
color: @gray-light;
|
||||
|
||||
Reference in New Issue
Block a user