What is the difference between Normalize.css and Reset CSS?

后端 未结 9 1898
野的像风
野的像风 2020-11-22 10:49

I know what CSS Reset is, but recently I heard about this new thing called Normalize.css

What is the difference between Normalize.css and Reset CSS?

What is

9条回答
  •  面向向阳花
    2020-11-22 11:14

    First reset.css is the worst library you can use, because it removes the standard structure of HTML and displays everything you write just as text, after assigning the values of margin padding and other attributes to 0. So for example you will find that

    , will be the same as
    .

    On the other hand Normalize.css uses the standard structure and also fixes almost all the errors existing in it. For example it fixes the problem with showing a form from one browser to another. Normalize fixes this by modifying this features so your elements will be shown the same on all browsers.

提交回复
热议问题