Major beginner needs help with an animation!

Hey I’m trying to rotate a PNG file. I’ve managed to get the item to rotate but only at the beginning of the page thanks to help from someone here.
How do I target the actual element within my page?
This is the code I’m using:

<img class="logo" src="">


.logo {
  animation: rotation 20s infinite linear;

@keyframes rotation {
  from {
    transform: rotate(0deg);

  to {
    transform: rotate(359deg);

This is the page:

And this is the item I am trying to target:
Screen Shot 2021-07-22 at 10.01.50 am

Thank you thank you!

A post was merged into an existing topic: I need help rotating a PNG file!