[英]Remove padding below font awesome (CSS icon)
I am trying to remove the padding below font awesome stack icons, have tried everything in my knowledge, and the solutions provided on stack overflow and other websites (from setting the font-size of the parent element to 0px and by inserting borders to rather than ) but all to no avail. 我正在尝试删除字体真棒堆栈图标下面的填充,在我所知范围内,并且在堆栈溢出和其他网站上提供了所有解决方案(将父元素的字体大小设置为0px并通过将边框插入而不是),但无济于事。
There is something that i am clearly missing out. 我显然错过了一些东西。
Thank you in advance for solving the question, cheers. 预先感谢您解决问题,欢呼。
JSFiddle: https://jsfiddle.net/sazeemj/dhvtrh2f/1/ JSFiddle: https ://jsfiddle.net/sazeemj/dhvtrh2f/1/
//please ignore
您可以通过添加更改.fa-stack类的高度来解决此问题
.fa-stack { height:1.2em !important; }
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.