<ul class="snip1175">
<li class="current"><a href="#" data-hover="Home">Home</a></li>
<li><a href="#" data-hover="About Us">About Us</a></li>
<li><a href="#" data-hover="Blog">Blog</a></li>
<li><a href="#" data-hover="Services">Services</a></li>
<li><a href="#" data-hover="Products">Products</a></li>
<li><a href="#" data-hover="Contact">Contact</a></li>
</ul>
@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,800);
.snip1175 {
font-family: 'Raleway', Arial, sans-serif;
text-align: center;
text-transform: uppercase;
font-weight: 500;
}
.snip1175 * {
box-sizing: border-box;
-webkit-transition: all 0.35s ease;
transition: all 0.35s ease;
}
.snip1175 li {
display: inline-block;
list-style: outside none none;
margin: 0 1.2em;
overflow: hidden;
}
.snip1175 a {
padding: 0 0.5em 0 0.2em;
color: rgba(255, 255, 255, 0.5);
position: relative;
display: inline-block;
letter-spacing: 1px;
margin: 0;
text-decoration: none;
}
.snip1175 a:before,
.snip1175 a:after {
position: absolute;
-webkit-transition: all 0.35s ease;
transition: all 0.35s ease;
}
.snip1175 a:before {
right: 100%;
display: block;
width: 3px;
height: 100%;
content: "";
background-color: #f39c12;
}
.snip1175 a:after {
padding: 0 0.5em 0 0.2em;
position: absolute;
right: 100%;
top: 0;
content: attr(data-hover);
color: white;
white-space: nowrap;
}
.snip1175 li:hover a,
.snip1175 .current a {
transform: translateX(100%);
}
This Pen doesn't use any external JavaScript resources.