npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@zemd/css-reset

v1.0.0

Published

CSS reset for modern web development

Readme

@zemd/css-reset

npm

A small CSS reset for modern projects. It gives you a clean starting point without locking you into any design system.

What it does

The main reset (index.css) handles the basics:

  • Sets box-sizing: border-box on all elements
  • Removes default margins and paddings (keeps them on headings, paragraphs, and lists)
  • Sets sensible defaults for font rendering, kerning, and ligatures
  • Wraps headings with text-wrap: balance and paragraphs with text-wrap: pretty
  • Makes images, SVGs, and videos responsive
  • Normalizes form elements, tables, and links
  • Enables scroll-behavior: smooth when the user has no motion preference
  • and more

Install

npm install @zemd/css-reset
pnpm add @zemd/css-reset

Files

All exports are plain CSS. Pick what you need.

| File | What it does | | ---------------------------- | ------------------------------------------------------------------- | | @zemd/css-reset/index.css | Main reset - start here | | @zemd/css-reset/extra.css | Pointer cursors for clickable elements, underlines for inline links | | @zemd/css-reset/quotes.css | Language-aware quote marks | | @zemd/css-reset/all.css | Everything above in one import |

Tip: You can also import without the .css extension, e.g. @zemd/css-reset/extra.

Note: The main reset sets English-only default quotes on :where(html, :host). If you use quotes.css, make sure it's imported after index.css so the language-specific overrides take effect.

Usage

Basic

@import "@zemd/css-reset/index.css";

/* If your tooling supports it, this shorter form also works: */
@import "@zemd/css-reset";

/* Layers keep your reset clearly separated from your app and component styles: */
@layer reset;
@import "@zemd/css-reset/index.css" layer(reset);

Everything at once

If you want the full reset with all optional files included:

@import "@zemd/css-reset/all.css";

/* Or with a layer: */
@layer reset;
@import "@zemd/css-reset/all.css" layer(reset);

Picking individual files

@layer reset;

@import "@zemd/css-reset/index.css" layer(reset);
@import "@zemd/css-reset/extra.css" layer(reset);
@import "@zemd/css-reset/quotes.css" layer(reset);

Using with Tailwind v4

Skip Tailwind Preflight so the two resets don't overlap:

@layer theme, reset, components, utilities;

@import "tailwindcss/theme.css" layer(theme);
@import "@zemd/css-reset/index.css" layer(reset);
@import "tailwindcss/utilities.css" layer(utilities);

Add any optional files to the same reset layer.

License

Released under the Apache 2.0 license.

Support