CSS Animation for a Website



Hi! I’m currently trying to make a CSS animation using @keyframes but not with JavaScript and webkit.
(they don’t seem to work on my site)

I was thinking of

from {
color: #000000;
to {
img src=“insert-link-here”

but that doesn’t seem to work either.

(This is for a heading)

Please help and thanks in advance.