Daily-Question icon indicating copy to clipboard operation
Daily-Question copied to clipboard

【Q536】normalize.css 与 reset.css 又何区别

Open shfshanyue opened this issue 3 years ago • 3 comments

shfshanyue avatar May 25 '21 09:05 shfshanyue

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

  • normalize.css: 会保留有用的样式,比如 h1 的字体大小
  • reset.css: 把所有样式都重置,比如 h1、h2、h3 的字体大小都进行了重置,保持了无样式

shfshanyue avatar May 25 '21 09:05 shfshanyue

那普通项目是哪一个更好使? 我倾向 reset.css。

linlai163 avatar Oct 23 '21 16:10 linlai163

可以看看这篇文章 https://jerryzou.com/posts/aboutNormalizeCss/

ethanlamm avatar Sep 05 '22 07:09 ethanlamm