Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

button background position left to right hover css

div {
    background: linear-gradient(to left, salmon 50%, lightblue 50%) right;
    background-size: 200%;
    transition: .5s ease-out;
}
div:hover {
    background-position: left;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #button #background #position #left #hover #css
ADD COMMENT
Topic
Name
4+4 =