Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wcoder/text-colorizer.js

Script to format the text in the text with a random color and size (words or letters).
https://github.com/wcoder/text-colorizer.js

pure-javascript text

Last synced: about 7 hours ago
JSON representation

Script to format the text in the text with a random color and size (words or letters).

Awesome Lists containing this project

README

        

# text-colorizer.js

Script to format the text in the text with a random color and size (words or letters).

### Using

```html

(function () {

var element = document.querySelector('#text-colorize-word');
textColorizer(element, true);

}());

```

### API

```js
textColorizer(domElement, [isByWord, maxFontSize, minFontSize]);
```

### Screenshot
![screenshot](./demo/screenshot.png)

---
© 2015 Yauheni Pakala | MIT