How to stack/overlap more than 2 icons in Font Awesome ?
I have managed to stack/overlap 2 icons like this.
<span class="fa-stack fa-lg">
<i class="fa fa-square-o fa-stack-2x"></i>
<i class="fa fa-twitter fa-stack-1x"></i>
</span>
http://jsfiddle.net/npLWz/ ref: http://fontawesome.io/examples/#stacked
but when i try to stack/overlap 3 or more icons like this.
<span class="fa-stack fa-3x">
<i class="fa fa-square-o fa-stack-3x"></i>
<i class="fa fa-square-o fa-stack-2x"></i>
<i class="fa fa-square-o fa-stack-1x"></i>
</span>
Its getting messed up, any idea , how can i fix it ? and get 3 or more icons stacked/overlapped on each other.
I had a similar issue and solved using some custom CSS.
Markup is therefore:
I decided rather than override fa-stack I'd duplicate so I can still use the original CSS if required.
You can obviously play around with the font size, line height etc to suit your own requirements.