Setup css properties directly from a class name