Skip to content

Commit

Permalink
Show files in cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
assisfery committed Mar 5, 2020
1 parent 91d7252 commit bb05bbf
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@ A library to use svg shapes in your web page in the easiest way.
See the demo here: https://assisfery.github.io/Ska-Svg/

### Get Started
Just import the **_Ska.css_** and **_Ska.js_** file.
Just import the **_Ska.css_** and **_Ska.js_** files.

```
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/assisfery/Ska-Svg@1.0/css/Ska.css">
```

```
<script src="https://cdn.jsdelivr.net/gh/assisfery/Ska-Svg@1.0/js/Ska.js"></script>
```

### Use Shape
To use a svg shape just put **_data-ska-object="name_of_object"_** attribute in your html container.
Expand Down
12 changes: 6 additions & 6 deletions assets/curtain6.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ <h1>Ska-Svg</h1>
<div class="p-4 container">

<h3>Get Started</h3>
<p>Just import the <b><i>Ska.css</i></b> and <b><i>Ska.js</i></b> file.</p>
<p>Just import the <b><i>Ska.css</i></b> and <b><i>Ska.js</i></b> files.</p>

<pre class="alert alert-secondary">&lt;link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/assisfery/Ska-Svg@1.0/css/Ska.css"&gt;</pre>

<pre class="alert alert-secondary">&lt;script src="https://cdn.jsdelivr.net/gh/assisfery/Ska-Svg@1.0/js/Ska.js"&gt;&lt;/script&gt;</pre>


<br><br>
Expand Down

0 comments on commit bb05bbf

Please sign in to comment.