diff --git a/css/animation.css b/css/animation.css new file mode 100644 index 0000000..b41942d --- /dev/null +++ b/css/animation.css @@ -0,0 +1,13 @@ +#css animation that spins a class around forever# + +.spinny{ + animation: rotate 5s infinite; +} + +@keyframes rotate { + from { + transform: rotate(360deg); + } + to { + transform: rotate(-360deg); + }}