I am getting the error
Expected Dbrace at line 65, col 3
Expected Dbrace at line 66, col 3
Expected Dbrace at line 67, col 3
Expected Dbrace at line 68, col 3
Expected Dbrace at line 69, col 3
for al of my info
@PaulOB, I just formatted odiezbez’s code with the </> button and it appears they were double dashes. That or they have been cleverly converted from a single dash.
There is no error in that code as far as I can see.
The error message you are getting is not from the w3c CSS online validator (the only one that really matters) and I guess you are using one of the free code beautifiers/validators which are not maintained to current specs.and probably don’t understand custom variables.
Unfortunately the w3c css validator is offline at the moment so I can’t share a screenshot of the results. However if you open your devtools in Chrome and inspect the css you would see any invalid properties crossed out and there are none in that snippet of code.
Where are you defining the colors? You define the hue variable but don’t use it. Perhaps you meant to use it in hsl colors and change for each keyframe.
e.g.
(I only added the extra rule for the second i element.)
Is it possible you could post a demo on codepen or similar so I can see it all in place