Why is there such a big difference between Chrome and firefox on the same page? What causes it?


do you have reset style.

Normalize.css: Make browsers render all elements more consistently.

browser has its own browser style
that is, a page without any CSS will have a style when opened in the browser, by default. This default style varies from browser to browser.
Normalize.css is a mature tool that unifies the default style of each browser.


each factory has its own browser default style. In the past, programmers were most annoyed with compatibility, and one of the major reasons for compatibility was the diversification of browser rules. Fortunately, adaptation is more concerned with the advent of the mobile era. I hope it will be helpful to you

Menu