Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is an alias in font-awesome?

Tags:

font-awesome

On the Font Awesome icons page, some icons are listed with (alias) after them. What does that mean?

like image 706
Shaun Luttin Avatar asked Jun 18 '13 21:06

Shaun Luttin


People also ask

What is the difference between FAS and fa in Font Awesome?

Instead of fa as a style preceding every icon style, you need to pick from fas for solid, far for regular, fal for light, or fab for brand. It looks like fas is the fallback, so you get solid if you leave your old fa references. For most icons, this change makes the icon heavier or lighter.

How do I add alt text to Font Awesome icons?

Begin with the icon class “fa-open” followed by an equal sign “=” and then the alternate text “Screen Reader Text”.

Why is I tag used for Font Awesome?

It is because they are both inline elements. <i> is shorter to type than <span> and the icon won't get rendered in italics.

Is Font Awesome no longer free?

Font Awesome is fully open source and is GPL friendly. You can use it for commercial projects, open source projects, or really just about whatever you want.


1 Answers

The (Alias) means that there is more than one name for the font icon. For Example, icon-dollar is also icon-usd.

EDIT: It is probably best to use the default name rather than the alias name if you don't know which to use. Further, as the comment below states, use the name that best fits you activity or function.

like image 81
CaptainBli Avatar answered Sep 28 '22 06:09

CaptainBli