CSS Texts slide transition hover effect.

.portfolio-sec .work-navigation a:hover {
    -webkit-transition: all 0.8s cubic-bezier(0, 0, 0.23, 1);
    transition: all 0.8s cubic-bezier(0, 0, 0.23, 1);
    background-position: 0%;
}

.portfolio-sec .work-navigation a {
    text-decoration: none;
    display: block;
    transition: .8s ease;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: -webkit-gradient(linear, left top, right top, from(#ec3737), color-stop(50%, #ec3737), color-stop(50%, #000000));
    background-image: linear-gradient(to right, #ec3737, #ec3737 50%, #000000 50%);
    background-size: 200% 100%;
    background-position: 100%;
}

Leave a Reply

Your email address will not be published. Required fields are marked *