Pseudo Elements - Font Family and Unicode

Hi this is my first post here, I hope it’s not a duplicate, I tried my best to search the forum.

So, I have a ::before pseudo element on a div, and am trying to draw a LineAwesome icon in it. I noticed with FontAwesome you can specify font-family='LineAwesome in the pseudo-elements css, then use content: attr(some-attribute) where some-attribute='&#(unicode)' in the html div. I was wondering… what font-family does LineAwesome have in its most recent CDN such that I can do the same thing?

Thanks!

  • Logan

yes, sure you may use the ‘attr’ property according to the documentation https://developer.mozilla.org/en-US/docs/Web/CSS/attr