What is the CSS reset? Some of the peers are called "CSS reset", some may be called "Default CSS" ...
Believe that after reading the full text you will have a new understanding of CSS Reset
Ps:
Program code
* {
padding: 0;
margin: 0;
}
This is the most commonly used CSS Reset, but there will be a lot of problems.
The original part said a lot about CSS, as well as the different browser CSS rules, and the development of "CSS Reset" is also to be compatible and unified, the correct and effective use of "CSS reset" can be in a way to save time and money.
Thank you very much. Perishable and induction
The following is a few types of CSS reset simple introduction, the author's limited ability, can only understand the meaning, but also please you reader forgive me.
Minimalistic Reset [Version 1]
Believe that this is something you often see, and that's what we often use.
Program code
* {
padding: 0;
margin: 0;
}
Minimalistic Reset [ Version 2 ]
Border:0 's design is a little dodgy.
Program code
* {
padding: 0;
margin: 0;
border: 0;
}
Minimalistic Reset [ Version 3 ]
Of course, this is not recommended, it will conflict with some of the default styles
Program code
* {
outline: 0;
padding: 0;
margin: 0;
border: 0;
}
Condensed Universal Reset