Animated checkbox

Hi, is there a way to have animated checkbox (in gtk.css file)? I’ve tried different examples from web, but every time I’m getting warnings from gtk about some errors parsing gtk theme.
Thank you