add css class to row with specified field value in views
You can do this in views.
The class in views supports tokens. So if you use the value of a field [field_value] and put that in the class, then you can style it by using .field_value in your css.

This way every field will get a class, but only the ones you style in css will affect how they look.