How to make Bootstrap Glyphicons bigger with HTML?

Spread the love

Sometimes, we want to make Bootstrap Glyphicons bigger with HTML.

In this article, we’ll look at how to make Bootstrap Glyphicons bigger with HTML.

How to make Bootstrap Glyphicons bigger with HTML?

To make Bootstrap Glyphicons bigger with HTML, we add the class for the size we want.

For instance, we write

<span class="glyphicon glyphicon-globe"></span>
<span class="glyphicon glyphicon-globe fa-lg"></span>
<span class="glyphicon glyphicon-globe fa-2x"></span>
<span class="glyphicon glyphicon-globe fa-3x"></span>
<span class="glyphicon glyphicon-globe fa-4x"></span>
<span class="glyphicon glyphicon-globe fa-5x"></span>

to add the classes starting with fa- to set the size.

Conclusion

To make Bootstrap Glyphicons bigger with HTML, we add the class for the size we want.

Leave a Reply

Your email address will not be published.