Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I use normalize.css in my Bootstrap project?

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.

like image 772
Omer Raja Avatar asked Aug 17 '13 07:08

Omer Raja


People also ask

Should I use css normalize?

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.

Should I use normalize or reset css?

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.

Why do some Web designers use a normalizing css?

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.

What is normalize in bootstrap?

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.


1 Answers

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

like image 122
Paolo Avatar answered Sep 19 '22 12:09

Paolo