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

reseter.css

v2.0.0

Published

Reset Browser Default Styles, Without the need to work with a blank slate. Improve Cross Browser Compatibility. Get All Benefits From Normalize.css As Well

Downloads

2,737

Readme

🤓 Benefits

  • [x] No need to start from scratch. Reseter.css doesn't remove all the browser styles, but instead redefines the useful ones
  • [x] Never switch technologies. sass, less, scss, stylus, and styled-components support available.
  • [x] Never find yourself fixing browser issues. Includes browser fixes for a wide range of browsers.
  • [x] No need debugging load time for Reseter.css. It's sized ~0.7kb. Moreover, we are consistently trying to reduce it.
  • [x] Get all the benefits of normalize.css. It includes all normalizations!
  • [x] Get a better box sizing for a better experience. box-sing: border-box set
  • [x] Completely production ready code with browser support testing and source build ci

❓ Why do I use a css reset

There are many inconsistencies between browsers. Like Firefox 3 has a margin on top of paragraphs but Internet Explorer 7 doesn't have any margin. There are thousands of browsers with hundreds of versions. Each version at least has 500+ inconsistencies with different browsers' different versions. How to keep up? This is an easy to use solution called reseter.css

Browser Inconsistencies

🆚 There are other resets, why reseter.css?

| Feature | Reseter.css | Normalize.css | Sanitize.css | Reset.css | | :------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | | Normalizations | ✅ | ✅ | ✅ | ❌ | | Basic elemental styles | ✅ | Partial | ✅ | ❌ | | Size (by bundle phobia) | GitHub file size in bytes | GitHub file size in bytes | GitHub file size in bytes | GitHub file size in bytes | | Minified version | npm bundle size | ❌ (Minify yourself) | ❌(Minify yourself) | ❌(Minify yourself) | | GZIP version | npm bundle size | ❌ (Compress yourself) | ❌ (Compress yourself) | ❌ (Compress yourself) | | Box sizing | ✅ | ❌ | ✅ | ❌ | | Browser support | Customizable | Last 3 versions | Last 3 versions | Unknown |

🚀 Get It Running Quick

  1. You can find some templates for a faster experience in the templates section down below

  2. Create A HTML File

    <!DOCTYPE html>
    <html>
      <head>
        <title>Reseter.css Quick Start</title>
      </head>
      <body>
          <h1>Reseter.css Quick Start</h1>
          <p>Hey fella! Don't forget to change the title text an remove this paragraph and the heading</p>
      </body>
    </html>
  3. Call Reseter.css

    <!-- To be placed in the head tag -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reseter.css" />
  4. Star this repository, if you like the project! It means a lot to the development team, Those stars a boosting happiness for our team

  5. How about reading a guide for best performance? Here's the link to optimizing reseter.css for production

  6. Lastly you can view our wiki for best practices and performance guides

  7. 🥳 All Set Now

📚 Quick Templates

🌟 Installation

There are various ways to install reseter.css. Like package managers, content delivery networks, local copies...

📦 Package Managers

💝 NPM Npm Downloads

npm install reseter.css

🐱Yarn Yarn Downloads

yarn add reseter.css

⚡ CDN CDN Hits

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reseter.css" />

✨ Usage

Reseter.css as said, is a zero-dependency project and excels in integrating with all kinds of usage options! These are a few easy guides for people to start

<head>
  <link rel="stylesheet" type="text/css" href="path/to/reseter.min.css" />
  <link
    rel="stylesheet"
    type="text/css"
    href="path/to/your-custom-stylesheet.css"
  />
</head>

Warning!

Make Sure To Link Your Custom Stylesheet After Reseter.css Else Your Custom Styles Might Not Be Implemented

✨ More

🚅 Optimize

Note all of these guidelines are for static websites, frameworks like react have their own guide (please refer them)

  • Never import reseter.css via css, though this a option, it is not recommended for website loading, rather use html link tags

    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reseter.css">
  • Use this easy loading trick to make your life a lot easier

    <link rel="preload" as="style" href="https://cdn.jsdelivr.net/npm/reseter.css" onload="this.rel='stylesheet';this.onload=null">
    
    <noscript>
      <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reseter.css">
    </noscript>
  • Find more at our wiki

📞 We're Ready To Support

⌚ Road Map

  • [ ] Comment Blocks In The Sources

  • [ ] Long Documentation

  • [ ] Guide

All of these items are moved to the Benefits section once done

❤ Thanks to our supporters

GitHub Stargazers