javascript - 如何在mac上禁用自动填充?
问题描述
我在mac上使用了很多隐藏自动填充的例子,但它对我不起作用..
<style>
input::-webkit-autofill
</style>
<div class="form">
<input type="text" class="form-control" autocomplete="off" />
<input type="email" class="form-control" autocomplete="off" />
<button type="submit"><i class="material-icons send"></i></button>
</div>
但这对我不起作用
请给我一个更好的例子...
解决方案
推荐阅读
- node.js - Node JS 多请求处理
- amazon-web-services - x509:证书由未知权威签名(可能是“crypto/rsa:验证错误”的 bcz,同时尝试验证候选权威证书“kubernetes”)
- react-native - 反应本机推送通知启用/禁用
- api - 谷歌日历 API 拒绝 Errno 13 权限
- shopify - 使用 Shopify 404 页面获取内容
- python - 追加覆盖数据框python
- cassandra - Cassandra 在查询更少或更多节点时的性能
- python - 在现有 docker swarm Python Docker SDK 中创建新服务时,如何在 client.services.create 中添加约束?
- dart - Dart null 安全条件语句?
- openstack - Openstack - 将模拟器固定到多个 CPU