add a class with what style a field is