1
1
mirror of https://github.com/primer/css.git synced 2025-01-05 21:22:57 +03:00

Merge pull request #932 from primer/cdn-link

Update unpkg CDN links
This commit is contained in:
Shawn Allen 2019-10-07 11:02:42 -07:00 committed by GitHub
commit a0fb0cdddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -100,5 +100,5 @@ Don't forget to add the compiled CSS to the `<head>` section of your page.
You won't need to install any node modules or Sass compilers for a static site; you can use the built CSS. The best thing to do is to [download the built CSS](https://unpkg.com/@primer/css/dist/primer.css) from the [unpkg.com](https://unpkg.com) and host it yourself. If that's not an option, you can include a CDN link in your HTML:
```html
<link href="https://unpkg.com/primer/build/build.css" rel="stylesheet" />
<link href="https://unpkg.com/@primer/css/dist/primer.css" rel="stylesheet" />
```

View File

@ -19,7 +19,7 @@ This method requires no dev environment set up and is useful for when you want t
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://unpkg.com/primer/build/build.css" />
<link rel="stylesheet" href="https://unpkg.com/@primer/css/dist/primer.css" />
</head>
<body></body>
</html>