【问题标题】:How to override Webkit Apperance for select tag?如何覆盖选择标签的 Webkit 外观?
【发布时间】:2014-09-05 16:10:47
【问题描述】:

用户代理内容:

*
{
 -webkit-appearance: none
}

我需要覆盖 -webkit-appearance: select 之类的内容。

【问题讨论】:

  • 我不明白你的意思。 user agent stylesheet 中有什么(顺便说一句,在哪个浏览器上),your stylesheet 中有什么?你想达到什么目标?

标签: css webkit-appearance


【解决方案1】:

-webkit-appearance 没有 select 值:

您可以使用menulist 进行选择。

-webkit-appearance:menulist;/*it applies to select*/

【讨论】:

  • 这就是为什么问这个问题@C-link尼泊尔。那怎么办呢?我的最终目标是显示 dropdwon 箭头。
  • 我无法修改 html。这就是问题
  • 您可以使用 menulist 进行选择:-webkit-appearance: menulist 会成功...
  • Accepted +1 menulist 做到了。谢谢
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多