finally figured out how to use CSS conditionally