Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ionic framework 浮动文本框设计问题_Ionic Framework_Ionic4 - Fatal编程技术网

Ionic framework 浮动文本框设计问题

Ionic 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;

离子4-角7

离子项目bg-CSS

.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;
}

甚至把
!重要的

我需要删除“灰色”背景。只有在存储凭据时,我才面临此问题。在“匿名”窗口中,我没有遇到这个问题(所有浏览器),我需要删除“灰色”背景。只有在存储凭据时,我才面临此问题。在“匿名”窗口中,我没有遇到此问题(所有浏览器)