本文介绍了我如何让字形更大? (更改大小?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想让全球的图形更大,以便覆盖大部分页面(这是一个矢量图)。它不在按钮或任何东西中;它只是一个人。有没有办法做到这一点?
增加 glyphicon 来增加所有图标大小。
.glyphicon {
font-size: 50像素;
}
只定位一个图标,
.glyphicon.glyphicon-globe {
font-size:75px;
}
I would like to make the globe glyphicon bigger so that it covers up a large portion of the page (it's a vector image). It's not in a button or anything; it's just alone. Is there a way to do this?
<div class = "jumbotron"> <span class="glyphicon glyphicon-globe"></span> </div>解决方案Increase the font-size of glyphicon to increase all icons size.
.glyphicon { font-size: 50px; }To target only one icon,
.glyphicon.glyphicon-globe { font-size: 75px; }
这篇关于我如何让字形更大? (更改大小?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!