Animating and styling flashes