Web Components Experiment using CSS and Ambient Light API.
Attention: Ambient Light API only works in Firefox 22+ (Mac OS X).
$ [sudo] npm install -g grunt-cli ```
-
Install local dependencies:
$ npm install ```
-
Run a local server:
$ grunt ```
Now you can see the website running in http://localhost:9000
:D
-
Import Web Components' polyfill:
```
-
Import Custom Element:
-
Start using it!
```
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
This Web Component can be found in customelements.io, submit your project too!
MIT License © Bernard De Luna & Zeno Rocha