An inline custom element to provide letter-spacing CSS styling to its contents.
HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
.gitignore
LICENSE
README.md
bower.json

README.md

<letter-spacing>

An inline custom element to provide letter-spacing CSS styling to its contents.

Install

$ bower install letter-spacing

Usage

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>

Demo

See live demo

Options

Attribute Options Default Description
value String `` Spacing value i.e. '3px' or '-3px'

Basic use example

<letter-spacing value="3px">This text is spaced with letter-spacing custom element.</letter-spacing>

Results in above text spaced by given value.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin new-feature
  5. Submit a pull request

License

MIT License - © Jabran Rafique 2014

Analytics