Re-creating Bref style with CSS3 animation