About this:

Rotating an element with pure CSS on a loop. When familiar with custom CSS you can use these keyframes for just about any element.

Read more Apply for job

Custom CSS


.button-left, .button-right{
    padding:6px 0;
    width:50%;
}
.button-left{
    border-radius: 6px;
    position:absolute;
    top:0;
    left:0;
    z-index:0;
    transition: width 0.6s ease-in-out, left 0.6s ease-in-out, z-index 0.6s;
}
.button-right{
    padding:6px 0;
    position:absolute;
    top:0;
    left:50%;
    width:52%;
    margin-left:-2%;
    transition: width 0.6s ease-in-out, left 0.6s ease-in-out;
}
.button-right:hover{
    transition: width 0.6s, left 0.6s;
    left:2%;
    width:100%;
    z-index:100!important;
}
.button-left:hover{
    transition: width 0.6s, left 0.6s;
    left:0%;
    width:100%;
    z-index:100!important;
}

Notes

Free for use, copy and edit

Stay Connected

Get in touch

Flatsome is the perfect theme for your shop, company websites or client websites. It has all the tools needed to create super fast responsive websites with amazing user experience.