button {
border-radius: 20px;
width: 200px;
text-align:center;
padding:15px 0;
border:10px solid green;
background-color: gold;
}
button:hover {
animation-name:szerokosc;
animation-duration:4s;
animation-iteration-count:infinite;
animation-direction:alternate;
}