样式化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;
}
演示: http://jsfiddle.net/w5Dt2/
这篇关于样式化JQuery UI自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文