I can't seem to add an @keyframe animation in the css

I can't seem to add an @keyframe animation in the css editor provided in the upfront editor. Is this by design? It won't allow me to save.