An open API service indexing awesome lists of open source software.

https://github.com/jabranr/letter-spacing

An inline custom element to provide letter-spacing CSS styling to its contents.
https://github.com/jabranr/letter-spacing

custom-elements html5 shadow-dom web-components

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# <letter-spacing>

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

## Install

``` shell
$ bower install letter-spacing
```

## Usage

Import `Polymer` and `letter-spacing` into your HTML document.

``` html
// Get Polymer

// Import letter-spacing element

```

Starting using it:

``` html
Text goes here
```

## Demo

[See live demo](http://www.jabran.me/letter-spacing/)

## Options

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

## Basic use example

``` html
This text is spaced with letter-spacing custom element.
```

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](http://opensource.org/licenses/MIT) - © Jabran Rafique 2014

[![Analytics](https://ga-beacon.appspot.com/UA-50688851-1/socialmedia)](https://github.com/igrigorik/ga-beacon)