An inline custom element to provide letter-spacing
CSS styling to its contents.
$ bower install letter-spacing
Import Polymer
and letter-spacing
into your HTML document.
// Get Polymer
<script src="bower_components/polymer/polymer.min.js"></script>
// Import letter-spacing element
<link rel="import" href="bower_components/letter-spacing/dist/letter-spacing.html" />
Starting using it:
<letter-spacing value="3px">Text goes here</letter-spacing>
Attribute | Options | Default | Description |
---|---|---|---|
value |
String | `` | Spacing value i.e. '3px' or '-3px' |
<letter-spacing value="3px">This text is spaced with letter-spacing custom element.</letter-spacing>
Results in above text spaced by given value.
- Fork it!
- Create your feature branch:
git checkout -b new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin new-feature
- Submit a pull request
MIT License - © Jabran Rafique 2014