<!DOCTYPE html>
<html>

<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta charset="utf-8" />
    <title>处理浏览器自动填充账号密码</title>
</head>

<body>
    <div style="opacity:0;height:0;overflow:hidden">
        <input type="text" >
        <input type="password">
    </div>
    <div>
        账号:<input type="text" >
    </div>
    <div>
        密码:<input type="password" >
    </div>
</body>

</html>

        
input {
    outline: none;
    border: 2px solid orange;
}