Is it possible to somehow change the part of the border when you hover over the element. Like this: 
I tried to do this:
.nav-menu { margin-top: 33px; border-top: 1px solid #ececec; } nav a { padding: 0 20px; border-right: 1px solid #ececec; } nav a:hover { color: #f03c3c; padding-top: 25px; border-top: 1px solid #f03c3c; } <div class="nav-menu"> <nav> <a href="#">Home</a> <a href="#">About</a> <a href="#">Blog</a> <a href="#">Contact</a> </nav> </div>