Skip to content

Commit

Permalink
add arrow to active class navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
pippinlee committed Aug 8, 2014
1 parent 9f8dd19 commit a026a18
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions less/navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,19 @@
}
.nav > li.active > a {
color: white;
&:after {
content: "";
display: block;
position: absolute;
top: 100%;
left: 50%;
width: 0;
height: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid #01527d;
margin-left: -10px;
}
}
.nav .open > a,
.nav .open > a:hover,
Expand Down

0 comments on commit a026a18

Please sign in to comment.