Update NPM and add unpkg CDN

This commit is contained in:
Lucas 2019-12-11 15:07:21 +07:00
parent 3fffd037a9
commit f2adc7813b
7 changed files with 32 additions and 35 deletions

View file

@ -17,12 +17,29 @@ Elegant styles for all natives HTML elements without `.classes` and dark mode au
## Usage
[Download Pico](https://github.com/picocss/pico/archive/v1.0.1.zip) and link `/css/pico.min.css` in the `<head>` of your website.
There are 3 ways to get started with pico.css:
### Install manually
[Download Pico](https://github.com/picocss/pico/archive/v1.0.2.zip) and link `/css/pico.min.css` in the `<head>` of your website.
```html
<link rel="stylesheet" href="css/pico.min.css">
```
### Install from CDN
Alternatively, you can use the [unpkg CDN](https://unpkg.com/@picocss/pico@latest/) to link pico.css.
```html
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.min.css">
```
### Install with NPM
```shell
npm install @picocss/pico
```
## Examples
- [**Class-less**](https://picocss.com/examples/classless/): Just a pure semantic HTML markup, without `.classes`