1.0.1 • Published 9 months ago

josh-reset v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

josh-reset

What is this?

Josh Comeau's CSS reset as an NPM package

Why did I make this?

So that I can manage my resets more effectively and consistently

Usage

Option 1 (NPM)

  1. Install josh-reset using NPM
    npm install josh-reset
  2. <link> or @import the reset inside the HTML or CSS

    <!-- HTML -->
    <link rel="stylesheet" href="/node_modules/josh-reset/mixed-reset.min.css" >
    /* CSS */
    @import "/node_modules/josh-reset/mixed-reset.min.css";
  3. Et viola!

Option 2 (git)

  1. Clone this repository by using HTTPS, SSH, or GitHub CLI
    # HTTPS
    git clone https://github.com/geomydas/josh-reset.git
    # SSH
    git clone git@github.com:geomydas/josh-reset.git
    # GitHub CLI
    gh repo clone geomydas/josh-reset
  2. Link or import the CSS file inside the folder named josh-reset

    <!-- HTML -->
    <link rel="stylesheet" href="/josh-reset/mixed-reset.min.css" />
    /* CSS */
    @import "/josh-reset/mixed-reset.min.css";
  3. Et voila!

Option 3 (CDN)

  1. Link or import the UNPKG link inside the HTML or CSS
    <!-- HTML -->
    <link rel="stylesheet" href="https://unpkg.com/josh-reset/mixed-reset.min.css" />
    /* CSS */
    @import "https://unpkg.com/josh-reset/mixed-reset.min.css";
  2. Et viola!

Links

1.0.1

9 months ago

1.0.0

10 months ago