html - 如何在 WebKit 中设置选择框背景?

标签 html css webkit

我想设置透明背景的选择框

我使用了 select {background: transparent} 的 CSS

但它不起作用。我该怎么做?

最佳答案

尝试添加

-webkit-appearance: none;

关于html - 如何在 WebKit 中设置选择框背景?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6260766/

相关文章:

javascript - 在 div 淡入后重置它以防止 'stacking'

html - 无法连接 Bootstrap 页面

iphone - CSS 过渡 : Fix a div's right edge position while translating the left edge

html - 垂直对齐的居中图像

javascript - 如何使此部分背景响应?

html - 将 Bootstrap 按钮设置为相同的宽度

android - 你如何将 Android 仪器测试推送到模拟器/设备?

html - 根据高度水平换行?

html - 如何使用隐藏在 1fr 网格元素上的溢出

cocoa - 寻找 UIWebViewDelegate 的等效项,用于将 iOS 应用程序移植到 OSX