Twitter bootstrap more glyphics.

Is there a way to use twitter bootstrap and adjust the size to be larger? I have tried this so far with no luck. glyphicon.myclass {height: 100px; width: 100px;}   

Thanks.

+4
source share
3 answers

If it's Bootstrap 3, try increasing the font size if applicable to the element. An example is below.

glyphicon.myclass {
    font-size: 1.4em;
}
+4
source
Badges

Bootstrap 2 is used as a background, so no. In addition, they are a sprite image, so to change the size of the sprite you will need to configure each CSS position operator.

Bootstrap 3 icons are a font, so yes.

.glyphicon.smaller {font-size: 8px;}
.glyphicon.bigger {font-size: 30px;}
+2
source

font-size . , , , .

<h1><i class="glyphicon glyphicon-align-center"></i></h1>

http://bootply.com/98574

+2
source

All Articles