Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Increase the size of Bootstrap 2.3's Glyphicons

Is there an easy way of increasing the size of Glyphicons?
I found some solution like Font Awesome but don't want to include new CSS library just to increase size 2 icons.

like image 891
Himanshu Yadav Avatar asked May 07 '13 22:05

Himanshu Yadav


People also ask

How do I make my bootstrap icon bigger?

bootstrap icon size To increase icon sizes relative to their container, use the fa-xs, fa-sm, fa-lg (33% increase), fa-2x, fa-3x, fa-4x, fa-5x, fa-6x, fa-7x, fa-8x, fa-9x, fa-10x classes.

Are Glyphicons supported in bootstrap 4?

Bootstrap 4 does not have its own icon library (Glyphicons from Bootstrap 3 are not supported in BS4). However, there are many free icon libraries to choose from, such as Font Awesome and Google Material Design Icons.

What can I use instead of Glyphicons?

Free Alternatives to Glyphicons You can use both Font Awesome and Github Octicons as a free alternative for Glyphicons.


1 Answers

Setting the font-size of the <span> tag worked for me

<span class="glyphicon glyphicon-ok" style="font-size: 20px;"></span> 
like image 55
user2686734 Avatar answered Oct 12 '22 23:10

user2686734