DEV Community

Jubril Abdulsalam
Jubril Abdulsalam

Posted on

Which css reset do you use

Top comments (1)

Collapse
 
andrewbaisden profile image
Andrew Baisden

I don't use CSS resets anymore I just write some custom CSS.

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-size: 1rem;
}
Enter fullscreen mode Exit fullscreen mode