Can recognize css classes in a list