Is it smart to tack on html5 boilerplate (and thus also normalize.css) to an install of twitter bootstrap, or will this create a lot of bloat and redundancy?

I'm asking this because initializr offers it, but I'm not sure whether it will add any extra value to tack these onto bootstrap, since I'm sure bootstrap includes some resets and defaults of its own.

有帮助吗?

解决方案

Bootstrap's _reset partial is an adapted version of Nicolas Gallagher's normalize.css, so yes, you would probably find it to be very redundant.

其他提示

HTML5 Boilerplate isn't only normalize, because it include modernizr wich allow you to style the new HTML5 elements in IE and helps with detecting HTML5 or CSS3 features in all browsers, including earlier versions of IE (before v9). And a httaccess with security rules very useful. I think you can use both, because bootstrap doesn't have all the rules css to normalize a web page HTML.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top