Navigation Menu

Skip to content

jabranr/letter-spacing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages