forxtu
6/28/2017 - 3:21 PM

Smooth underline links

Smooth underline links

.item_wrap a {
    line-height: 1;
    display: inline-block;
    color:#000;
    text-decoration:none;
    cursor: pointer;
}
.item_wrap a:hover {
   	color: #000;
   	-webkit-transition: .3s ease;
   	-moz-transition: .3s ease;
   	-o-transition: .3s ease;
   	transition: .3s ease;
}
.item_wrap a:after {
    display: block;
    content: "";
    height: 2px;
    width: 0%;
    background-color: #000;
    transition: width .3s ease-in-out;
}
.item_wrap a:hover:after,
.item_wrap a:focus:after {
    width: 100%;
}