减少雕文的重量 [英] Reduce the weight of a Glyphicon

查看:140
本文介绍了减少雕文的重量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法减少Glyphicons的重量?

我正在使用



有没有办法减少重量,减少字体大小,产生更薄的刻度?改变 font-weight lighter 不会有任何效果。

解决方案

使用白色笔触是一种方法来做到这一点

  -webkit-text -stroke:2px white; 


Is there a way to reduce the "weight" of Glyphicons?

I am using the "ok" Glyphicon <span class="glyphicon glyphicon-ok"></span> which displays like this:

Is there any way to reduce the weight to produce a thinner tick without reducing the font size? Changing the font-weight to lighter has no effect whatsoever.

解决方案

Using white stroke is a way to do it

-webkit-text-stroke: 2px white;

这篇关于减少雕文的重量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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