2.0.0 โ€ข Published 3 years ago

reseter.css v2.0.0

Weekly downloads
329
License
MIT
Repository
github
Last release
3 years ago

๐Ÿค“ Benefits

  • No need to start from scratch. Reseter.css doesn't remove all the browser styles, but instead redefines the useful ones
  • Never switch technologies. sass, less, scss, stylus, and styled-components support available.
  • Never find yourself fixing browser issues. Includes browser fixes for a wide range of browsers.
  • No need debugging load time for Reseter.css. It's sized ~0.7kb. Moreover, we are consistently trying to reduce it.
  • Get all the benefits of normalize.css. It includes all normalizations!
  • Get a better box sizing for a better experience. box-sing: border-box set
  • 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?

FeatureReseter.cssNormalize.cssSanitize.cssReset.css
Normalizationsโœ…โœ…โœ…โŒ
Basic elemental stylesโœ…Partialโœ…โŒ
Size (by bundle phobia)GitHub file size in bytesGitHub file size in bytesGitHub file size in bytesGitHub file size in bytes
Minified versionnpm bundle sizeโŒ (Minify yourself)โŒ(Minify yourself)โŒ(Minify yourself)
GZIP versionnpm bundle sizeโŒ (Compress yourself)โŒ (Compress yourself)โŒ (Compress yourself)
Box sizingโœ…โŒโœ…โŒ
Browser supportCustomizableLast 3 versionsLast 3 versionsUnknown

๐Ÿš€ 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

2.0.0

3 years ago

1.2.0

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago