浏览器密码框自动弹出账号密码的解决方法


input  的 type  用 text 类型
<input type="text">

此方法,兼容  Google 和 firefox
@font-face{
    font-family: "text-security-disc";
    src: url("https://raw.githubusercontent.com/noppa/text-security/master/dist/text-security-disc.woff");
  }
input {
    font-family: "text-security-disc";
    -webkit-text-security: disc;
  }

 

posted @ 2023-02-03 12:57  杨不凡  阅读(202)  评论(0编辑  收藏  举报