Just add before
pseudo element like what you add :after
#menu a:hover:after {
content: "";
position: absolute;
top: 41px;
left: 50%;
margin-left: -15px;
width: 0px;
height 0px;
margin: 0px auto;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-bottom: 15px solid white;
}
#menu a:hover:before {
content: "";
position: absolute;
top: 40px;
left: 50%;
margin-left: -15px;
width: 0px;
height 0px;
margin: 0px auto;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-bottom: 15px solid black;
}
and i have updated you pen please check
http://codepen.io/anon/pen/vOxmGZ
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…