twitter-bootstrap 语义 UI 与 Bootstrap
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18886813/
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
Semantic-ui vs Bootstrap
提问by Java Questions
Which is the best one to use and if possible, please provide the difference(s) and advantages of these two.
哪个最好用,如果可能,请提供这两者的区别和优点。
Semantic-uivs BootstrapI am trying to build my UI and really confused as what to use.
Semantic-ui与Bootstrap我正在尝试构建我的 UI,并且对使用什么感到非常困惑。
Please suggest me the best one and if possible with examples.
请给我推荐最好的,如果可能的话,请举例说明。
回答by elkebirmed
I think that we can't see the differences between Bootstrapand Semantic-UIright now, Semantic-ui is new, so we have to let the time decide :)
我认为我们现在看不到Bootstrap和Semantic-UI之间的区别,Semantic-ui 是新的,所以我们必须让时间来决定:)
My opinion:Semantic-UI design is better than Bootstrap and more clean, easy to use, strict coding, useful components, lightweight. I see the future of Frameworks in Semantic-UI, so I will contribute and hope the best for it, but I will not use it for big projects that depend on a huge feedbacks and supports!
我的观点:Semantic-UI 设计比 Bootstrap 更好,更干净,易于使用,严格的编码,有用的组件,轻量级。我看到了语义 UI 中框架的未来,所以我会做出贡献并希望它做到最好,但我不会将它用于依赖大量反馈和支持的大型项目!
回答by Alexian
If you don't mind, I add Foundation by Zurb in the topic (the only true valid alternative to Bootstrap at the moment).
如果您不介意,我会在主题中添加 Foundation by Zurb(目前唯一真正有效的 Bootstrap 替代方案)。
I just checked the project/framework SemUI and it's pretty awesome. The idea of building your pages in a strict semantic way is obviously good, moreover the design is stunning in my opinion and there are a lot of components and settings to use and to choose from the set.
我刚刚检查了项目/框架 SemUI,它非常棒。以严格的语义方式构建页面的想法显然是好的,而且在我看来设计令人惊叹,并且有很多组件和设置可供使用和选择。
Another thing that I noticed is the package, very well organized, every component if you want has its own stylesheet and script-file, therefore you'll be able to load only what you need, even because the package is quite heavy if you include everything in a single page.
我注意到的另一件事是包,组织得很好,如果你想要,每个组件都有自己的样式表和脚本文件,因此你只能加载你需要的东西,即使包很重,如果你包含一个页面中的所有内容。
For a pre-release I admit that I'm considering to build my next web-app with such framework, but I got some perplexities:
对于预发布版本,我承认我正在考虑使用此类框架构建我的下一个 Web 应用程序,但我遇到了一些困惑:
- is that mobile-first like Bootstrap or Foundation? from what I'm able to see, it doesn't look so;
- Bootstrap has two valid and well-known contributors and Foundation got Zurb behind, what about SemanticUI? this is a pre-release, are we gonna see other releases?
- 移动优先像 Bootstrap 还是 Foundation?从我所能看到的,它看起来不是这样;
- Bootstrap 有两个有效且知名的贡献者,Foundation 支持 Zurb,那么 SemanticUI 呢?这是预发布版,我们会看到其他版本吗?
because of such perplexities I think to avoid to use it for a business/commercial project at the moment, maybe in a very near future, but if you're planning to use it for your own personal web-app (like mine), I think it's a pretty good choice.
由于这种困惑,我认为目前避免将它用于商业/商业项目,也许在不久的将来,但如果您打算将它用于您自己的个人网络应用程序(如我的),我觉得是个不错的选择。
Then if you wanna fallback to Bootstrap for any reason, I think it's not that painful (many of Semantic components seem based on Bootstrap).
然后,如果您出于任何原因想回退到 Bootstrap,我认为这不会那么痛苦(许多 Semantic 组件似乎基于 Bootstrap)。
回答by karenkun
Semantic UI doesn't really address mobile or responsive views like Bootstrap and Foundation do. It's more like a collection of prepackaged UI elements that work pretty well together with semantic markup that's superior to Bootstrap/Foundation. But the biggest drawback right now is that it's not mobile-centric. So if you want a well styled site, use Semantic-UI.
语义 UI 并没有像 Bootstrap 和 Foundation 那样真正解决移动或响应式视图。它更像是一组预先打包的 UI 元素,它们与优于 Bootstrap/Foundation 的语义标记配合得非常好。但目前最大的缺点是它不是以移动为中心的。因此,如果您想要一个风格良好的网站,请使用 Semantic-UI。

