Css 无法在项目中添加边框底部
我希望ion项的边框一直接触到末尾。当我为它编写css类时,浏览器不应用样式 .html 您可以看到下面的屏幕截图 添加之后!对于css中的border bottom属性很重要,结果如下所示: 单击输入字段时,蓝线也可见Css 无法在项目中添加边框底部,css,ionic-framework,ionic2,ionic3,Css,Ionic Framework,Ionic2,Ionic3,我希望ion项的边框一直接触到末尾。当我为它编写css类时,浏览器不应用样式 .html 您可以看到下面的屏幕截图 添加之后!对于css中的border bottom属性很重要,结果如下所示: 单击输入字段时,蓝线也可见 在您的variable.scss文件中,将其添加到android部分 $text-input-md-highlight-color-invalid: transparent; $text-input-md-highlight-color-valid: transparent;
在您的variable.scss文件中,将其添加到android部分
$text-input-md-highlight-color-invalid: transparent;
$text-input-md-highlight-color-valid: transparent;
$text-input-md-show-invalid-highlight: transparent;
$text-input-md-highlight-color: transparent;
$text-input-md-show-valid-highlight: transparent;
为了避免出现项目行,请使用此
或
在您尊敬的scss文件中
.item-inner {
padding-right: 8px;
border-bottom: 1px solid #F1F1F1;
}
如果你加上!在你的财产价值之后重要吗?很酷,突出显示一个就完成了。你能通过创建boredem bottom属性来解决项目的默认边界重叠问题吗?用我更新的答案再次检查它将应用颜色F1F1YES请解释我没有收到你的问题?让我们来。
$text-input-md-highlight-color-invalid: transparent;
$text-input-md-highlight-color-valid: transparent;
$text-input-md-show-invalid-highlight: transparent;
$text-input-md-highlight-color: transparent;
$text-input-md-show-valid-highlight: transparent;
.item-inner {
padding-right: 8px;
border-bottom: 1px solid #F1F1F1;
}