[RSS Feed/News] how to get Font awesome Pro and Brands both in font-family? m-faBase('Pro') and m-faBase('Brands')

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I need my CSS rule to have both of these fonts
CSS:

font-family: "Font Awesome 5 Brands", "Font Awesome 5 Pro";
So I can add these three font awesome icons to &::before{ pseudo element.
CSS:

.m-faContent("@{fa-var-mobile-android-alt}@{fa-var-app-store}@{fa-var-desktop-alt}");

Is there a simpler way to do this instead of hardcoding font-family?

I've seen this less function in core button less sheets: .m-faBase(); and .m-faBase('pro'); .m-faBase('brands');

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom