<cat-text>
is a Polymer element that displays a text with a transition effect. Although the same appearance can be obtained with pure CSS transitions, the <cat-text>
true power is revealed when used in conjunction with other elements, like <cat-image>
Install the component using Bower:
$ bower install --save cat-text
-
Import Web Components' polyfill (if needed):
<script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
-
Import Custom Element:
<link rel="import" href="bower_components/cat-text/cat-text.html">
-
Start using it!
<cat-text>Your text here</cat-text>
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
For detailed changelog, check Releases.
Copyright (c) 2017 Catalin Ungureanu