更改字体真棒图标的宽度 [英] Changing Width of Font Awesome Icons
本文介绍了更改字体真棒图标的宽度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试调整图标的缩放比例和宽度.我正在专门尝试制作图标
I'm trying to adjust the scaling and width of an icon. I'm specifically trying to make the icon
<i class="fa fa-bars fa-lg"></i>
更宽,但不更高.
我不是要使其成为fa-2x
或fa-3x
.我正在尝试对其进行缩放,以使宽度为150%,而高度仍为100%.
I'm not trying to make it fa-2x
or fa-3x
. I'm trying to scale it so that the width is, say 150%, while the height is still 100%.
推荐答案
使用比例尺真的很容易
.fa { transform: scale(1.5,1); }
这篇关于更改字体真棒图标的宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文