Converts CSS classes to inline styles