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" />
     
  • 相关阅读:
    class-dump + DumpFrameworks.pl
    使用 U盘 重装 Mac OSX
    本地化应用程序
    UINavigationBar 总结
    Xcode 杂七杂八
    App 打包并跳过 AppStore 的发布下载
    Summary of Mac Versions
    QT5安装(null)
    如何实现LAN或WAN远程开机?
    DELL 8700重装系统
  • 原文地址:https://www.cnblogs.com/htmlli/p/8949651.html
Copyright © 2011-2022 走看看