Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/asp.net-core/3.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
Cordova 使用iscroll后密码字段背景发生更改_Cordova_Iscroll4 - Fatal编程技术网

Cordova 使用iscroll后密码字段背景发生更改

Cordova 使用iscroll后密码字段背景发生更改,cordova,iscroll4,Cordova,Iscroll4,我已经在登录页面中实现了iscroll,实际上我的密码字段是棕色的背景色,当关注密码字段键入文本时,背景消失了,变成了白色背景。有人能为这个问题提出解决方案吗 代码如下: input[type="text"],input[type="password"], input[type="email"] { height: 40px; width: 200px; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:

我已经在登录页面中实现了iscroll,实际上我的密码字段是棕色的背景色,当关注密码字段键入文本时,背景消失了,变成了白色背景。有人能为这个问题提出解决方案吗

代码如下:

input[type="text"],input[type="password"], input[type="email"]
{
  height: 40px;   width: 200px;   -moz-border-radius:5px; -webkit-border-radius:5px; border-radius: 5px;
}

#wrapper
{
  position:absolute; z-index:1; top:13%; bottom:10%; left:0; width:100%; overflow:auto;
}

#scroller
{
  position:absolute; z-index:1; /*-webkit-touch-callout:none;*/ -webkit-tap-highlight-color:rgba(0,0,0,0); width:100%; padding:0%;
}

<form name="login" id="login_form">
  <div class="row">
    <div id="login_container">
      <div id="email_input">
        <input type='text' id='email' class='not_capital' placeholder='Email' autocapitalize="off" autocorrect="off"/>
      </div>

      <div id="password_input">
        <input type='password' id='password' placeholder='Password' />
      </div>
    </div>
  </div>

  <div class="row">
    <input type="submit" class="small_button" value="Login" id="login" />
  </div>
</form>
input[type=“text”]、input[type=“password”]、input[type=“email”]
{
高度:40px;宽度:200px;-moz边框半径:5px;-webkit边框半径:5px;边框半径:5px;
}
#包装纸
{
位置:绝对;z索引:1;顶部:13%;底部:10%;左侧:0;宽度:100%;溢出:自动;
}
#卷轴
{
位置:绝对;z索引:1;/*-webkit触控标注:无;*/-webkit触控突出显示颜色:rgba(0,0,0,0);宽度:100%;填充:0%;
}

你能发布一些你的代码吗?输入[type=“text”]、输入[type=“password”]、输入[type=“email”]{高度:40px;宽度:200px;-moz边框半径:5px;-webkit边框半径:5px;边框半径:5px;}包装器{位置:绝对;z-index:1;顶部:13%;底部:10%;左侧:0;宽度:100%;溢出:自动;}}}}}}}}}}{位置:绝对;z索引:1;/*-webkit touch callout:none;*/-webkit tap highlight color:rgba(0,0,0,0);宽度:100%;填充:0%;}下次您可以编辑您的问题并将这些代码放在问题上,这样您的问题将成为clear@kolonel彼德鲁克,现在完美了吗?