Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Numbers With Font Awesome

I want to use numbers to list steps in a process. I was curious about how to do this with Font Awesome.

I'd like to use circles with a 1, 2, 3... in it. Is this possible?
Will Font Awesome be adding numbers to the list of icons?

Thanks!

like image 355
rschonhoff Avatar asked Aug 27 '14 18:08

rschonhoff


People also ask

Does Font Awesome have number icons?

We don't have any Free Solid icons in Numbers.

Do I need to give credit to Font Awesome?

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. Attribution is no longer required as of Font Awesome 3.0 but is much appreciated: "Font Awesome by Dave Gandy - http://fontawesome.io".


Video Answer


1 Answers

Font awesome actually has built-in support for stacking regular text (i.e. numbers, letters, ..) on top of icons.

Here is a nice example of a calendar icon with the actual day of the month as plain text. As the post also explains you might need to throw in some extra styling for optimal positioning.

HTML:

<span class="fa-stack fa-3x">   <i class="fa fa-calendar-o fa-stack-2x"></i>   <strong class="fa-stack-1x calendar-text">27</strong> </span> 

CSS:

.calendar-text { margin-top: .3em; } 
like image 177
Lennart Stoop Avatar answered Sep 17 '22 14:09

Lennart Stoop