#makes spotify player buttons rotate and

1 messages · Page 1 of 1 (latest)

polar karma
#

yo is it possible to make a loop?

#

So when u hover it keeps spinning?

inland ibex
# polar karma So when u hover it keeps spinning?
/*spin spotify*/
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.vc-spotify-button:hover .vc-spotify-button-icon {
    animation: spin 1.5s ease-in-out infinite
}
#

you can play around with the seconds value if you want

polar karma
#

alr thanks man

#

this rainbow tags are a bit too much

#

Btw how do i do it so its all of the buttons at once?

#

sorry i aint much of a CSS guy

inland ibex
# polar karma Btw how do i do it so its all of the buttons at once?
/*spin spotify*/
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.vc-spotify-button .vc-spotify-button-icon {
    transform: rotate(0deg);
    transition: transform 0.3s;
.vc-spotify-button:hover {
    animation: spin 1.5s ease-in-out infinite
}