Place an icon before field label based on custom css class

Would it be possible to place an icon before the field label when I assign a custom class to a field.

I have this:

.myExcla::before {
content:url(‘myurl’);
}

but this puts it right before the field. How can I make sure it appears before the field label?

Thank you

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.