add CSS classes to views