return display styles in to_style_class