样式化 JQuery UI 自动完成 [英] Styling JQuery UI Autocomplete
本文介绍了样式化 JQuery UI 自动完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试为 AutoComplete 中的部分设置样式,但我不知道在 CSS 中为这些部分放什么.我特别想制作:
I'm trying to style the sections inside the AutoComplete, but I don't know what to put in the CSS for the sections. I'm specifically trying to make:
color: #96f226;
border-radius: 0px;
border: 1px solid #454545;
有什么建议???
推荐答案
您在寻找这个选择器吗?:
Are you looking for this selector?:
.ui-menu .ui-menu-item a{
background:red;
height:10px;
font-size:8px;
}
丑陋的演示:
只需替换为您的代码:
.ui-menu .ui-menu-item a{
color: #96f226;
border-radius: 0px;
border: 1px solid #454545;
}
这篇关于样式化 JQuery UI 自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文