mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 19:26:14 -04:00
chore: lock major version for CDN links
This commit is contained in:
parent
c127fce9f1
commit
ff2e4e1f5a
5 changed files with 14 additions and 14 deletions
10
README.md
10
README.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@latest/) to link pico.css.
|
||||
Alternatively, you can use [unpkg CDN](https://unpkg.com/@picocss/pico@1.*/) to link pico.css.
|
||||
|
||||
```html
|
||||
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.min.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/@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@latest/css/pico.classless.min.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/@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@latest/css/pico.fluid.classless.min.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/@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@latest/css/pico.classless.min.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/@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