jQuery UI 日期选择器 css
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/520811/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
jQuery UI datepicker css
提问by user63371
How can I apply my own theme to a datepicker or at least apply a theme from jQuery to it?
如何将我自己的主题应用于日期选择器或至少将 jQuery 的主题应用于它?
回答by bendewey
I would recommend using http://jqueryui.com/themeroller/, if that doesn't help you look more indepth into the ui.datepicker.css file and the ui.theme.css files.
我建议使用http://jqueryui.com/themeroller/,如果这不能帮助您更深入地查看 ui.datepicker.css 文件和 ui.theme.css 文件。
回答by tvanfosson
I'm assuming that you are using the jQuery UI datepicker. If so, you can design a custom theme at the jQuery UI ThemeRoller, then modify the resulting CSS file to you tweak it to your liking. You'll get CSS and custom images for the hover effects. The javascript will generate code that references the classes in the CSS file.
我假设您正在使用 jQuery UI 日期选择器。如果是这样,您可以在 jQuery UI ThemeRoller设计自定义主题,然后修改生成的 CSS 文件以根据您的喜好对其进行调整。您将获得用于悬停效果的 CSS 和自定义图像。javascript 将生成引用 CSS 文件中的类的代码。