Home > Article > Web Front-end > How to set icon size in bootstrap
bootstrap sets the icon size:
The code is as follows:
<div class="row"><span class="glyphicon glyphicon-headphones logo"></span></div> <div class="row"><span class="glyphicon glyphicon-map-marker logo"></span></div> <div class="row"><span class="glyphicon glyphicon-fire logo"></span></div>
On how to set the icon size, you can use font_size to set
I wrote the style here to set
.logo{ color: #f4511e; font-size: 60px; }
The effect is as follows:
font_size usage example:
p { font-style: normal; } p { font-size: 12px; } p { font-size: 20%; }
For more technical articles related to Bootstrap, please visit the Bootstrap Tutorial column to learn!
The above is the detailed content of How to set icon size in bootstrap. For more information, please follow other related articles on the PHP Chinese website!