twitter-bootstrap 我应该在 Bootstrap 项目中使用 normalize.css 吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18286189/
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
Should I use normalize.css in my Bootstrap project?
提问by Omer Raja
I can't figure out if I need to add the normalize.cssstylesheet in my bootstrap project. I'm using the latest version of bootstrap, v2.3.2.
我不知道是否需要在我的引导项目中添加normalize.css样式表。我正在使用最新版本的引导程序 v2.3.2。
回答by Paolo
No, you shouldn't.
不,你不应该。
A modified version of normalize.css is already includedin Bootstrap 2.3.2. Hereit is.
Bootstrap 2.3.2 中已经包含了 normalize.css 的修改版本。在这里。
UPDATE:the docsmakes this even more explicit, and now they use the original code, not their fork.
更新:文档使这一点更加明确,现在他们使用原始代码,而不是他们的分支。
UPDATE: (Bootstrap 4)
更新:(引导程序 4)
For improved cross-browser rendering, we use Rebootto correct inconsistencies across browsers and devices while providing slightly more opinionated resets to common HTML elements.
为了改进跨浏览器呈现,我们使用Reboot来纠正浏览器和设备之间的不一致,同时为常见的 HTML 元素提供稍微更固执的重置。
Source: https://getbootstrap.com/docs/4.1/getting-started/introduction/#reboot
来源:https: //getbootstrap.com/docs/4.1/getting-started/introduction/#reboot

