CSS Animation for a Website

css

#1

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

@keyframe
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.