Commit 0ee9d67f by Daniel Dahan

updated README to test new gif animations

parent 5b6a4be2
...@@ -28,13 +28,21 @@ Motion is a growing project and will encounter changes throughout its developmen ...@@ -28,13 +28,21 @@ Motion is a growing project and will encounter changes throughout its developmen
Motion offers a clean API to add animations to your views and layers. Simply pass in animation structs with configurable parameters. Take a look at some examples below: Motion offers a clean API to add animations to your views and layers. Simply pass in animation structs with configurable parameters. Take a look at some examples below:
### Background Color <table>
<thead><tr><th>Animation</th><th>Property</th><th>Swift</th></tr></thead>
![Motion Background Color](http://www.cosmicmind.com/motion/background_color.gif) <tbody>
<tr>
### Border Color <td align="center"><img src="http://www.cosmicmind.com/motion/background_color.gif" /></td>
<td>Border Color</td>
![Motion Border Color](http://www.cosmicmind.com/motion/border_color.gif) <td><pre><code class="language-swift">view.animate(.background(color: .cyan))</code></pre></td>
</tr>
<tr>
<td align="center"><img src="http://www.cosmicmind.com/motion/border_color.gif" /></td>
<td>Border Color & Border Width</td>
<td><pre><code class="language-swift">view.animate(.border(color: .cyan), .border(width: 20))</code></pre></td>
</tr>
</tbody>
</table>
## License ## License
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment