Ionic framework 浮动文本框设计问题
离子4-角7 离子项目bg-CSSIonic framework 浮动文本框设计问题,ionic-framework,ionic4,Ionic Framework,Ionic4,离子4-角7 离子项目bg-CSS .ion-item-bg{ --background: transparent; --color:#fff; border-bottom: 1px solid #fff } 电子邮件 如果我们保存凭证,那么在重新加载UI时,它看起来就像图像一样 尝试过自动完成,但仍然面临问题。你只说了错的地方,而不是你真正想要的 我假设你也希望文本框是透明的 看起来您需要设置离子输入的样式 ion-input { --background: transparent;
.ion-item-bg{
--background: transparent;
--color:#fff;
border-bottom: 1px solid #fff
}
电子邮件
如果我们保存凭证,那么在重新加载UI时,它看起来就像图像一样
尝试过自动完成,但仍然面临问题。你只说了错的地方,而不是你真正想要的 我假设你也希望文本框是透明的 看起来您需要设置离子输入的样式
ion-input {
--background: transparent;
}
如果这不起作用,有时我不得不使用:
ion-input {
--background: transparent;
background: transparent;
}
甚至把
!重要的代码>。你只说了错的地方,而不是你真正想要的
我假设你也希望文本框是透明的
看起来您需要设置离子输入的样式
ion-input {
--background: transparent;
}
如果这不起作用,有时我不得不使用:
ion-input {
--background: transparent;
background: transparent;
}
甚至把!重要的代码>。我需要删除“灰色”背景。只有在存储凭据时,我才面临此问题。在“匿名”窗口中,我没有遇到这个问题(所有浏览器),我需要删除“灰色”背景。只有在存储凭据时,我才面临此问题。在“匿名”窗口中,我没有遇到此问题(所有浏览器)