mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 03:06:14 -04:00
Update NPM and add unpkg CDN
This commit is contained in:
parent
3fffd037a9
commit
f2adc7813b
7 changed files with 32 additions and 35 deletions
19
README.md
19
README.md
|
@ -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`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue