How to set icon size in bootstrap

Release: 2019-07-19 14:34:50
Original
8420 people have browsed it

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>
Copy after login

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;
}
Copy after login

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%; }
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template