DEV Community

Cover image for A Modern CSS Reset Built for Today's Web
jQueryScript
jQueryScript

Posted on

A Modern CSS Reset Built for Today's Web

Custom CSS Reset: a modern CSS stylesheet that normalizes browser defaults across the full element stack.

Key highlights:

  • Uses :where() for zero-specificity rules your own styles always override
  • Removes default margin and padding from all non-dialog elements
  • Sets responsive defaults for images, video, and other media
  • Fixes font inheritance for form controls across all browsers
  • Applies touch-action: manipulation to remove the 300ms tap delay on mobile

👉 Blog Post

👉 GitHub Repo

👉 Live Demo

Top comments (0)