twitter-bootstrap Jquery UI 与 CSS 中的 Bootstrap 冲突
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15330790/
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 in conflict with Bootstrap in CSS
提问by Joe.wang
I found many conflicts in css definition when I integrate Bootstrap and Jquery UI.
For example, there are h3css definitions in both. So for this case, I always have to comment one of them.
我在集成 Bootstrap 和 Jquery UI 时发现 css 定义中有很多冲突。例如,h3两者都有css定义。所以对于这种情况,我总是不得不评论其中之一。
My original idea is using the Bootstrap for the page layout and using Jquery UI to build UI interaction.
我最初的想法是使用 Bootstrap 进行页面布局,并使用 Jquery UI 构建 UI 交互。
Is there any easy way to integrate them?
有什么简单的方法可以集成它们吗?
回答by Josh
There is a specific theme for jQuery UI that provides support for Bootstrap: https://github.com/addyosmani/jquery-ui-bootstrap
jQuery UI 有一个特定的主题,它提供对 Bootstrap 的支持:https: //github.com/addyosmani/jquery-ui-bootstrap

