generalize css to only use classes for selectors