Position de fond du bouton gauche à droite survole CSS

div {
    background: linear-gradient(to left, salmon 50%, lightblue 50%) right;
    background-size: 200%;
    transition: .5s ease-out;
}
div:hover {
    background-position: left;
}
Gabriel Francis Banua