【问题标题】:Increasing the height of the content in firefox增加Firefox中内容的高度
【发布时间】:2020-08-24 16:00:44
【问题描述】:

我的 Angular 应用程序中有一个复选框。选中该值时,该框将填充 google-chrome 中的值。在 Firefox 中,它只显示在顶角,而不是填充输入字段。我该如何解决这个问题。请指导我。

HTML

<input class="customInput" id="custom" type="checkbox" formControlName="test" readonly>

css

.customInput {
  width: 100%;
  min-height: 70px;
  border: none !important;
  text-align: center;
  font-size: 50px;
  background: transparent;
}

// fully checked in chrome

// uncompatable firefox

【问题讨论】:

标签: html css firefox


【解决方案1】:

浏览器的反应非常不同,

在 Chrome 浏览器中显示完美,

但在 Firefox 57 节目中,

更多信息:访问styling checkbox in different browser

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-11-26
    • 1970-01-01
    • 1970-01-01
    • 2017-10-28
    • 1970-01-01
    • 2015-05-12
    • 1970-01-01
    • 2015-02-12
    相关资源
    最近更新 更多