我想简单地更改颜色并定义多行选择框或列表框的边缘.
I want to simply change the colors and define the edges of a multiple line select box, or list box.
我看到了一些类似主题的主题,但不是我正在寻找的解决方案.我需要能够:
I have seen a few threads on similar subjects, but not quite the solutions I am looking for. I need to be able to:
我想我可能不得不使用 JS(如果可能的话,通过 jQuery),但我更愿意使用 CSS.
I think I might have to use JS (via jQuery, if possible), but would much rather use CSS is I can.
这就是我所说的列表框
仅使用 CSS 是不可能做到这一点的.看看这个插件:github.com/vladfr/jquery-coolmultiple
there is no possibility to do this just with CSS. Take a look at this plugin: github.com/vladfr/jquery-coolmultiple
这篇关于使用 CSS 或 jQuery 样式化 HTML 表单列表框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!