+ 3

Reset CSS??? Margin:0 Padding:0

What is the best way to reset CSS or how you normally reset styling of browser?

11th Mar 2017, 10:41 AM
Ihor Karvay
Ihor Karvay - avatar
2 Réponses
+ 5
* { margin: 0; padding: 0; } That's the most important, then you'll reset other elements defaults if preferred.
11th Mar 2017, 10:23 PM
Mark Foxx
Mark Foxx - avatar
+ 1
I have written my own css reset code, but you can just type css reset in google and you will get couple of choices. This one is good: http://meyerweb.com/eric/tools/css/reset/
11th Mar 2017, 10:55 AM
Dimitar
Dimitar - avatar