First version using css animations