Is there a way to use the twitter bootstrap and adjust there size to be bigger ? I have tried this so far with no luck. glyphicon.myclass {height: 100px; width: 100px;}
Thank you.
Is there a way to use the twitter bootstrap and adjust there size to be bigger ? I have tried this so far with no luck. glyphicon.myclass {height: 100px; width: 100px;}
Thank you.
If it's Bootstrap 3, then try increasing the font-size if it applies to the element. Example below.
glyphicon.myclass {
font-size: 1.4em;
}
Bootstrap 2 icons are applied as backgrounds, so no. Also, they're an image sprite, so resizing the sprite image would require you to adjust every CSS position statement.
Bootstrap 3 icons are a font, so yes.
.glyphicon.smaller {font-size: 8px;}
.glyphicon.bigger {font-size: 30px;}
Glyphicons use the font-size
of their container. So you can increase the font-size as suggested by others, or use a container with larger font..
<h1><i class="glyphicon glyphicon-align-center"></i></h1>