我如何让字形更大? (更改大小?) [英] How Do I Make Glyphicons Bigger? (Change Size?)

查看:103
本文介绍了我如何让字形更大? (更改大小?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想让全球的图形更大,以便覆盖大部分页面(这是一个矢量图)。它不在按钮或任何东西中;它只是一个人。有没有办法做到这一点?

 < div class =jumbotron> 
< span class =glyphicon glyphicon-globe>< / span>
< / div>


解决方案

增加 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;
}

这篇关于我如何让字形更大? (更改大小?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆