@microflash/preset
Advanced tools
Comparing version
{ | ||
"name": "@microflash/preset", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "A modern CSS preset", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,3 +0,5 @@ | ||
# @microflash/preset | ||
 | ||
# preset | ||
[](https://www.npmjs.com/package/@microflash/preset) | ||
@@ -16,3 +18,3 @@ [](./LICENSE.md) | ||
`@microflash/preset` is a CSS reset to baseline the browser styles to give you a uniform foundation for building your custom styles on top of it. | ||
`preset` is a CSS reset to baseline the browser styles to give you a uniform foundation for building your custom styles on top of it. | ||
@@ -27,12 +29,11 @@ ## Install | ||
In Deno, with [esm.sh](https://esm.sh/): | ||
In Deno, with [unpkg.com](https://unpkg.com): | ||
```js | ||
import preset from "https://esm.sh/@microflash/preset" | ||
import "https://unpkg.com/@microflash/preset" | ||
``` | ||
In browsers, with [esm.sh](https://esm.sh/), [unpkg.com](https://unpkg.com) or [jsdelivr.net](https://jsdelivr.net): | ||
In browsers, with [unpkg.com](https://unpkg.com) or [jsdelivr.net](https://jsdelivr.net): | ||
```css | ||
<link rel="stylesheet" href="https://esm.sh/@microflash/preset"> | ||
<link rel="stylesheet" href="https://unpkg.com/@microflash/preset"> | ||
@@ -46,3 +47,3 @@ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@microflash/preset"> | ||
If you're using Sass, use `https://esm.sh/@microflash/preset/scss` in the main Sass file before any other rules. | ||
If you're using Sass, use `https://unpkg.com/@microflash/preset/src/preset.scss` in the main Sass file before any other rules. | ||
@@ -49,0 +50,0 @@ In browser, including the `<link>` before any other stylesheet should do the trick. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
59
1.72%27395
-0.29%