Actually, if you’re looking simply to do animations (leaving out interactivity, or complex functionality), it’s more a “hybrid designer” position. That can all be done via CSS. It isn’t often done, and it isn’t always easy, but it is an option.
Pearson Media has a decent PDF on the subject, CSS Animations and Transitions.
It’s like hiring someone to only decorate a cake but they have no idea how to bake or do anything else.
Look into Ui/UX designer. They do a lot more sketches and research than coding. With pure html and css, you probably cant get a paid job. Maybe internships… It is definitely more skewed towards design and UI. Maybe taking some courses on Udemy regarding UI and UX will help, because you will have to know different technologies for UI/UX