I can't figure out if I need to add the normalize.css stylesheet in my bootstrap project. I'm using the latest version of bootstrap, v2.3.2.
css preserves useful defaults and tries to normalize styles across browsers, instead of removing styles. If a browser does not adhere to the standard styles, Normalize aims to modify them to make styles consistent. If you currently use CSSBase, consider shifting to using Normalize.
Normalizing maintains useful defaults over non-stylizing everything and it won't clutter your dev tools window. Moreover, Resetting is meant to strip all default browser styling on elements. For e.g. margins, paddings, font sizes of all elements are reset to be the same.
Browsers apply styles to elements before you've written any CSS at all, and sometimes those styles vary. Normalizing your CSS lets you rest assured, knowing that you have the same base layer of styles applied across all browsers.
css is a what's known as a browser "reset" that helps fix some inconsistent default styling across many popular browsers, so that your CSS styling will start out on level ground.
No, you shouldn't.
A modified version of normalize.css is already included in Bootstrap 2.3.2. Here it is.
UPDATE: the docs makes this even more explicit, and now they use the original code, not their fork.
UPDATE: (Bootstrap 4)
For improved cross-browser rendering, we use Reboot to correct inconsistencies across browsers and devices while providing slightly more opinionated resets to common HTML elements.
Source: https://getbootstrap.com/docs/4.1/getting-started/introduction/#reboot
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With