Skip to content

Commit

Permalink
updated info because of cdnjs (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
una authored Oct 8, 2016
1 parent 0510e27 commit 4b2322a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For more information, check on [Can I Use](http://caniuse.com/#feat=css-filters)

When using CSS classes, you can simply add the class with the filter name to the element containing your image.

1. Include the CDN link in your `<head>` tag: `<link rel="stylesheet" href="https://cssgram-cssgram.netdna-ssl.com/cssgram.min.css">`
1. Include the CDN link in your `<head>` tag: `<link rel="stylesheet" href="https://cssgram-cssgram.netdna-ssl.com/cssgram.min.css">`. We're also on [CDNJS](https://cdnjs.com/libraries/cssgram) which means another option is `<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/cssgram/0.1.10/cssgram.min.css">`
* Alternatively, you can [download the CSSgram library](https://raw.githubusercontent.com/una/CSSgram/master/source/css/cssgram.min.css) locally and link to the it within your project: `<link rel="stylesheet" href="css/vendor/cssgram.min.css">`
* Add a class to your image element with the name of the filter you would like to use

Expand Down
2 changes: 1 addition & 1 deletion site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ <h3 id="use-css-classes">1. Use CSS classes</h3>

<p>When using CSS classes, you can simply add the class with the filter name to the element containing your image.</p>

<p><strong>The quickest way to do this is to link to our CDN</strong> in your <code>&lt;head&gt;</code> tag: <code>&lt;link rel="stylesheet" href="https://cssgram-cssgram.netdna-ssl.com/cssgram.min.css"&gt;</code>. Then, add a class to your figure element with the name of the filter you would like to use (shown below)</p>
<p><strong>The quickest way to do this is to link to our CDN</strong> in your <code>&lt;head&gt;</code> tag: <code>&lt;link rel="stylesheet" href="https://cssgram-cssgram.netdna-ssl.com/cssgram.min.css"&gt;</code> (OR you can now use CDNJS with <code>&lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/cssgram/0.1.10/cssgram.min.css"&gt;</code> ). Then, add a class to your figure element with the name of the filter you would like to use (shown below)</p>

<p>If you want to work locally, do the following:</p>

Expand Down
2 changes: 1 addition & 1 deletion site/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

<p>When using CSS classes, you can simply add the class with the filter name to the element containing your image.</p>

<p><strong>The quickest way to do this is to link to our CDN</strong> in your <code>&lt;head&gt;</code> tag: <code>&lt;link rel="stylesheet" href="https://cssgram-cssgram.netdna-ssl.com/cssgram.min.css"&gt;</code>. Then, add a class to your figure element with the name of the filter you would like to use (shown below)</p>
<p><strong>The quickest way to do this is to link to our CDN</strong> in your <code>&lt;head&gt;</code> tag: <code>&lt;link rel="stylesheet" href="https://cssgram-cssgram.netdna-ssl.com/cssgram.min.css"&gt;</code> (OR you can now use CDNJS with <code>&lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/cssgram/0.1.10/cssgram.min.css"&gt;</code> ). Then, add a class to your figure element with the name of the filter you would like to use (shown below)</p>

<p>If you want to work locally, do the following:</p>

Expand Down

0 comments on commit 4b2322a

Please sign in to comment.