updated pseudo-elements to CSS3