Home  >  Article  >  Web Front-end  >  How to set icon size in bootstrap

How to set icon size in bootstrap

尚
Original
2019-07-19 14:34:508414browse

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:

How to set icon size in bootstrap

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn