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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@effective/css-reset

v3.2.0

Published

Effective CSS Reset

Downloads

56

Readme

Effective/CSS Reset

Sponsored by Version Downloads

Welcome to the Effective/CSS Reset, a cutting-edge CSS reset infused with sensible enhancements and a keen focus on utilizing system fonts. Our project draws inspiration from the remarkable work of numerous pioneers in the field, incorporating best practices and innovative techniques to offer a streamlined and effective CSS foundation.

Demo

Explore our Storybook Demo, hosted on Vercel, to see the various resetted elements in action. This interactive demo provides a firsthand look at how our CSS reset performs across different elements and browsers.

Usage

Install the package using your normal package manager e.g.

npm install @effective/css-reset

Integrate the CSS using an import statement which should work fine in Vite/Remix/NextJS:

import "@effective/css-reset"

Alternatively you can cherry pick the individual files by choosing any number of the exported entry points:

  1. import "@effective/css-reset/reset.css": Resetting all core elements
  2. import "@effective/css-reset/typography.css": Enhance typography with better defaults
  3. import "@effective/css-reset/enhancement.css": Further enhancements to form fields, buttons, ...

Acknowledgements

This project builds upon the contributions of several key resources in the web development community. We extend our gratitude to the authors and maintainers of these works for their insights and innovations:

Technical Highlights

Our CSS reset is designed with several key principles in mind to ensure maximum compatibility, usability, and flexibility:

  • Reduced Specificity: Utilizes the :where selector to minimize selector specificity, facilitating easier theme customization and overrides.
  • System Fonts: Prioritizes cross-browser sans-serif system fonts (system-ui), complemented by a selection of compatible legacy font families. This approach is applied to both body text and pre-formatted code to ensure readability and consistency across platforms.
  • Enhanced Form Fields: Offers comprehensive support for native form fields, including search fields, date pickers, color selectors, and more. Each element is meticulously reset to enhance cross-browser compatibility, ensuring a uniform appearance and functionality across different environments.

Our mission with the Effective/CSS Reset is to provide developers with a robust starting point that incorporates the latest web standards and design philosophies. By building on the collective wisdom of the web development community, we aim to deliver a CSS reset that stands at the forefront of modern web design.

License

Apache License; Version 2.0, January 2004

Copyright

Copyright 2023-2024Sebastian Software GmbH