New Event on Button hover or click
stollr opened this issue · 1 comments
stollr commented
One cool effect would be that the whole site rotates but only the target element keeps as it is, when the user hovers over it.
ymc-thzi commented
nice idea 👍
but I think that a particle emitting plugin should not do such crazy effects :-D you can add that easily to your click event for example like this
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
body {
animation: rotate 2s linear infinite;
}