【发布时间】:2015-11-26 07:01:26
【问题描述】:
这是我的代码,它在 mozilla 上完美运行,但在 chrome 上却不行。
我的代码:
select {
-webkit-appearance: none;
-moz-appearance: none;
}
option {
background: url(image/flags/bg.png) no-repeat;
padding-left: 20px;
}
【问题讨论】:
-
你能分享你的html吗?此外,使用简单的 css 几乎不可能更改选择选项的背景。
-
转到 here 并粘贴您的 html 和 css 代码并分享链接
标签: html css google-chrome select