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" />
     
  • 相关阅读:
    linux 环境下安装oracle11g方法及安装过程中遇上的问题解决方法
    Opencv Mat的操作
    Opencv 的数据结构
    Opencv 摄像头矫正
    LM算法
    Python 正则表达式
    find grep
    Socket 入门
    Python thread
    Javascript实现页面跳转的几种方式
  • 原文地址:https://www.cnblogs.com/htmlli/p/8949651.html
Copyright © 2011-2022 走看看