josh-reset
v1.0.1
Published
Josh Comeau's CSS reset as an NPM package
Downloads
81
Readme
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)
Install josh-reset using NPM
npm install josh-reset
<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";
Et viola!
Option 2 (git)
Clone this repository by using HTTPS, SSH, or GitHub CLI
# HTTPS git clone https://github.com/geomydas/josh-reset.git
# SSH git clone [email protected]:geomydas/josh-reset.git
# GitHub CLI gh repo clone geomydas/josh-reset
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";
Et voila!
Option 3 (CDN)
- 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";
- Et viola!
Links
- Browse UNPKG: https://unpkg.com/browse/josh-reset/
- Github repo: https://github.com/geomydas/josh-reset
- NPM page: https://www.npmjs.com/package/josh-reset