Eric MeyerNormalizeModern ResetCopy CSS

Generated CSS

/* Modern CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html, body {
  height: 100%;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
#root, #__next {
  isolation: isolate;
}

Frequently Asked Questions

What is a CSS reset?
A CSS reset removes default browser styling to create a consistent baseline across different browsers.
Which reset should I use?
Modern Reset is recommended for new projects. Normalize.css is better when you want to preserve useful defaults. Eric Meyer reset is the most aggressive.
Do I need a CSS reset with Tailwind?
No. Tailwind CSS includes its own preflight reset based on modern-normalize.
Share:

Love this tool? Explore 999+ more

Free online tools for images, PDFs, text, code, and more. All running in your browser.

Explore All Tools