mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 18:26:14 -04:00
chore: change CDN from unpkg
to jsdelivr
This commit is contained in:
parent
3f3962df83
commit
19e34a3552
5 changed files with 16 additions and 16 deletions
14
README.md
14
README.md
|
@ -14,8 +14,8 @@
|
|||
</p>
|
||||
|
||||
## Pico.css
|
||||
[](https://unpkg.com/@picocss/pico@latest/css/pico.min.css)
|
||||
[](https://unpkg.com/@picocss/pico@latest/css/pico.classless.min.css)
|
||||
[](https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css)
|
||||
[](https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.classless.min.css)
|
||||
[](https://github.com/picocss/pico/releases/latest)
|
||||
[](https://www.npmjs.com/package/@picocss/pico)
|
||||
[](https://github.com/picocss/pico/blob/master/LICENSE.md)
|
||||
|
@ -60,10 +60,10 @@ There are 4 ways to get started with pico.css:
|
|||
|
||||
**Install from CDN**
|
||||
|
||||
Alternatively, you can use [unpkg CDN](https://unpkg.com/@picocss/pico@1.*/) to link pico.css.
|
||||
Alternatively, you can use [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@picocss/pico) to link pico.css.
|
||||
|
||||
```html
|
||||
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@1.*/css/pico.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css">
|
||||
```
|
||||
|
||||
**Install with NPM**
|
||||
|
@ -87,13 +87,13 @@ In this version, `header`, `main` and `footer` act as containers.
|
|||
Use the default `.classless` version if you need centered viewports:
|
||||
|
||||
```html
|
||||
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@1.*/css/pico.classless.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.classless.min.css">
|
||||
```
|
||||
|
||||
Or use the `.fluid.classless` version if you need a fluid container:
|
||||
|
||||
```html
|
||||
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@1.*/css/pico.fluid.classless.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.fluid.classless.min.css">
|
||||
```
|
||||
|
||||
Then just write pure HTML, and it should look great:
|
||||
|
@ -104,7 +104,7 @@ Then just write pure HTML, and it should look great:
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@1.*/css/pico.classless.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.classless.min.css">
|
||||
<title>Hello, world!</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue