From 123cfa15980c6579411f74df2865ca96c379e2ca Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Fri, 9 Jun 2017 15:55:20 +0800 Subject: Add Install from CDN --- docs/index.html | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) (limited to 'docs') diff --git a/docs/index.html b/docs/index.html index 0951255..263d6ce 100644 --- a/docs/index.html +++ b/docs/index.html @@ -127,13 +127,30 @@

Installation

-

There are 4 ways to get started with Spectre CSS framework in your projects. You can either manually install or use NPM, Yarn and Bower.

+

There are 4 ways to get started with Spectre CSS framework in your projects. You can either install manually, from CDN or use NPM, Yarn and Bower.

Install manually

Download the compiled and minified Spectre CSS file (~10KB min+gzip):

Download Spectre.css

+

Include spectre.css located in /docs/dist in your website or Web app <head>. Also, you can add spectre-icons.css and spectre-exp.css accordingly.

+ + +
<link rel="stylesheet" href="spectre.min.css" />
+<link rel="stylesheet" href="spectre-exp.min.css" />
+<link rel="stylesheet" href="spectre-icons.min.css" />
+
+ +
+
Install from CDN
+

Alternatively, you can use the unpkg CDN to load compiled Spectre.css.

+
+ + +
<link rel="stylesheet" href="https://unpkg.com/spectre.css/dist/spectre.min.css" />
+
+
Install with NPM
@@ -158,16 +175,7 @@
-
-

And include spectre.css located in /docs/dist in your website or Web app <head>. If you want the Spectre Icons and Experimentals, you can add spectre-icons.css and spectre-exp.css accordingly.

- - -
<link rel="stylesheet" href="spectre.min.css" />
-<link rel="stylesheet" href="spectre-exp.min.css" />
-<link rel="stylesheet" href="spectre-icons.min.css" />
-
-
-- cgit v1.3.1-23-gd82d