样式自动填充或自动完成默认浏览器下拉列表 [英] Style Autofill or Autocomplete Default Browser Dropdown

查看:42
本文介绍了样式自动填充或自动完成默认浏览器下拉列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有某种类型的 css 前缀、插件、javascript 或 jquery 允许您设置默认浏览器自动完成/自动填充的样式下拉.不是用于搜索字段...而是用于

Is there some type of css prefix, plugin, javascript, or jquery that allows you to style the default browser autocomplete/autofill dropdown. Not for a search field... but for <input type="email">

我已经使用了 input:-webkit-autofillinput:-webkit-autofill:hoverinput:-webkit-autofill:first-line 更改黄色背景的外观、字体系列、颜色等(在 Chrome 中)

I already use input:-webkit-autofill, input:-webkit-autofill:hover, and input:-webkit-autofill:first-line to change the appearence of the yellow background, the font-family, color, etc. (in Chrome)

现在我试图覆盖由您的浏览器生成的下拉菜单的默认外观.

Now I'm trying to override the default look of the dropdown - which is generated by your browser.

  1. 我正在尝试为所有用户名/电子邮件自动填充下拉列表自定义外观、文本颜色、:hover 颜色、字体等.

  1. I'm trying to customize the appearence, text color, :hover color, font, etc. for all Username/Email autofill dropdowns.

我不想指定数据列表,或有任何预定义的变量...

I do not want to specify a data-list, or have any prefdefined variables...

我不想关闭autocomplete="off"

我使用 dropkick.js 来自定义我所有的

发送“验证码”获取 | 15天全站免登陆