Matching classes to displayed text.

Matching classes to displayed text.