【问题标题】:CSS Web fonts do not expand DIV when font-size increased?当字体大小增加时,CSS Web 字体不会扩展 DIV?
【发布时间】:2012-09-09 06:42:26
【问题描述】:

你可以看到我在这里用缩略图中的大字体:http://unlockinglg.com/beta/index.html

我在 bootstrap 中使用 font-awesome

【问题讨论】:

  • 可能与从 bootstrap 继承的 i 元素的高度有关。立即查看。
  • 老兄!那个关于 goanimate 的视频很棒!
  • @Phillip 哈哈,但这不是我的。这只是一个填充物:D

标签: css twitter-bootstrap font-awesome


【解决方案1】:

bootstrap.min.css这部分负责:

[class^="icon-"],[class*=" icon-"]{height:14px}

快速(阅读:脏)修复方法是将以下内容添加到您的自定义样式表中:

[class^="icon-"],[class*=" icon-"]{height:auto !important}

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-08-03
    • 1970-01-01
    • 2013-03-02
    • 1970-01-01
    • 1970-01-01
    • 2012-11-07
    • 2012-04-23
    相关资源
    最近更新 更多