]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add CDN links to documentation
authorGeoff Kimball <geoff@zurb.com>
Mon, 7 Dec 2015 18:22:03 +0000 (10:22 -0800)
committerGeoff Kimball <geoff@zurb.com>
Mon, 7 Dec 2015 18:22:03 +0000 (10:22 -0800)
docs/assets/scss/_page.scss
docs/pages/installation.md

index df4ea3574aecfe8bcd8ee5ec4a981e7db25604ba..dfc1e92f1d9659853bb7a221445f90e4a495e432 100644 (file)
   position: relative;
 }
 
+.docs-component hr {
+  max-width: none;
+}
+
 .docs-component .thumbnail {
   margin-left: auto;
   margin-right: auto;
index b456a2ec9ee52ae658ca1e40dc52ae2ccc0c597c..373d95dbb4c45cf31e1efd24f4749b6f41be016c 100644 (file)
@@ -39,6 +39,20 @@ If you aren't into Sass, we have a starter template with compiled CSS and JavaSc
 
 ---
 
+## CDN Links
+
+The folks at [jsDelivr]() host the compressed Foundation CSS and JavaScript for us. Just drop one of these `<script>` tags into you're HTML and you're set:
+
+```html
+<!-- Compressed CSS -->
+<script src="https://cdn.jsdelivr.net/foundation/6.0.5/foundation.min.css"></script>
+
+<!-- Compressed JavaScript -->
+<script src="https://cdn.jsdelivr.net/foundation/6.0.5/foundation.min.js"></script>
+```
+
+---
+
 ## Package Managers
 
 Foundation is available on npm, Bower, Meteor, and Composer. The package includes all of the source Sass and JavaScript files, as well as compiled CSS and JavaScript, in uncompressed and compressed flavors.