Код: Выделить всё
a.nav {
font-family: Manrope;
font-weight: 400;
text-decoration: none;
color: #000;
background-image: linear-gradient(to bottom, transparent 1px, #000 1px);
background-repeat: no-repeat;
background-position-x: right;
background-size: 0%;
transition: background-size .15s;
}
a.nav:hover {
color: #fff;
background-size: 100%;
background-position-x: left;
}< /code>
About us
Спасибо !!
Подробнее здесь: https://stackoverflow.com/questions/776 ... th-transit