New version with CSS animation