Hello, have a question about css animation.
Let I have two divs, parent div has animation and it works. But I want also to animate child div while changing of parent one.
For example I want to make colour of the text green while it’s a square and when it’s circle make it white.
How to make it using css? Or it’s possible only with js coding?