设计 jQuery UI 日期选择器日历的日栏样式
如何为 jQuery UI 日期选择器日历的日期栏提供颜色背景?用我自己的自定义CSS?或者使用主题滚轮?有人这样做过吗?
How to give color background to the day bar of jQuery UI date-picker calendar? with my own custom css? or using the theme roller? has anyone done this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是表头 ui-datepicker 的样子:
This is how the table header ui-datepicker looks like:
虽然没有与之关联的类,但您可以使用选择器
table.ui-datepicker-calendar thead tr:first-child
来完成工作。这是一个 fiddle 作为示例。
While there isn't a class associated with it, you can use the selector
table.ui-datepicker-calendar thead tr:first-child
which should get the job done.Here's a fiddle as an example.