CSS Reset and cssreset
Why reset the default CSS of the browser?
The browser performs "default settings" on the "tag". The default settings of different browsers exist.Difference.
In many cases, the default settings of browsers are useless for our developers.
The developer needs to overwrite the css to overwrite the default settings of the browser.
CSS Reset is not only a "clear default style", but also a "global default style 』
How?
Import time: Set the reset file at the initial stage of the project. If the project is to be modified later, the change will take effect.
Introduction location: the first css introduction of the page.
<Link rel = "stylesheet" type = "text/css" href = "reset.css"> <link rel = "stylesheet" type = "text/css" href = "xxxx.css"> <link rel = "stylesheet" type = "text/css" href = "yyyy.css">
CSS ResetNo standard answerBecause different products have different requirements, we should use the Reset method to develop our own Reset based on our own products. Only the Reset that conforms to our own products is a good Reset.