zoukankan      html  css  js  c++  java
  • input密码自动填充

    1. 自动填充样式修改
    input: -webkit - autofill,
    input: -webkit - autofill: hover,
    input: -webkit - autofill: focus,
    input: -webkit - autofill: active {
    -webkit - transition - delay: 99999s;
    -webkit - transition: color 99999s ease - out, background - color 99999s ease - out;
    }
     
    1. 阻止自动填充
    ' <!--[if IE lte 9]>',
    ' <input type="password" class="form-control" autocomplete="off" name="password" placeholder="由6-16位由字母、数字、特殊字符组成" value="<%=password%>">',
    ' <![endif]-->',
    ' <input type="password" style="display:none"><input type="password" class="form-control" autocomplete="off" name="password" placeholder="由6-16位由字母、数字、特殊字符组成" value="<%=password%>">',
    ' </div>',
    // 火狐
    <input type="password" style="display:none" />
    // chrome
    <input type="password" class="form-control" name="password" required="required" autocomplete="new-password" data-input="clear" placeholder="请输入" runat="server" maxlength="20"
    />
    <input type="password" style="display:none" />
     
  • 相关阅读:
    类的专有方法(__getitem__和__setitem__)
    类的专有方法(__len__)
    demo02
    python之函数用法__str__()
    repr
    类的专有方法(__repr__)
    类的专有方法(__del__)
    类的专有方法(__init__)
    静态方法
    Golang接口简单了解
  • 原文地址:https://www.cnblogs.com/htmlli/p/8949651.html
Copyright © 2011-2022 走看看