Comments

Log in with itch.io to leave a comment.

Deleted 1 year ago
(1 edit)

You need to have custom css enabled on your account and then have some code that looks something like this:

@keyframes rotate {

 0% {transform:rotate(2deg);}

 50% {transform:rotate(-2deg);}

 100% {transform:rotate(2deg);}

}

.custom-rotate (the html class you want rotated) {

 animation: rotate 10s infinite;

}


custom css: https://itch.io/docs/creators/css-guide

css animation: https://www.w3schools.com/css/css3_animations.asp


hope this helps!

(+1)

Neat! Thanks so much!

You are very welcome :)

(+1)

You should add the open source or sourcecode tag!

Good idea, thanks!

(+1)

Good idea, even a little more colors.:)

Very unusual solution!

Perfectly!

(+1)

Thank you so much for playing!!! :) I'm glad you enjoyed