switched pseudo elements to spans