From a026a182ae24cc21754d5d756afe2ca3f838b3e5 Mon Sep 17 00:00:00 2001 From: Pippin Lee Date: Fri, 8 Aug 2014 01:58:24 -0400 Subject: [PATCH] add arrow to active class navbar --- less/navbar.less | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/less/navbar.less b/less/navbar.less index 9bec390..9d129e8 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -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,