pull CSS logic into getter