Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cvan/dom2screenshot
client-side tool for taking a screenshot of a DOM element and getting back a CORS'd CDN URL
https://github.com/cvan/dom2screenshot
Last synced: 2 days ago
JSON representation
client-side tool for taking a screenshot of a DOM element and getting back a CORS'd CDN URL
- Host: GitHub
- URL: https://github.com/cvan/dom2screenshot
- Owner: cvan
- License: mit
- Created: 2016-01-22T08:11:55.000Z (about 9 years ago)
- Default Branch: gh-pages
- Last Pushed: 2016-01-22T08:40:50.000Z (about 9 years ago)
- Last Synced: 2025-01-29T18:02:41.900Z (9 days ago)
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dom2screenshot
__Client-side tool for taking a screenshot of a DOM element and getting back a CORS'd CDN URL.__
Prototyping with HTML and CSS is fun and easy! Style your element, and with the click of a button, you'll get back an image URL that is served from a CDN and has CORS headers.
## Usage
The easiest way to get started is to __[fork this CodePen](http://codepen.io/cvan/pen/xZYKqO/left?editors=1100)__.
[
](http://codepen.io/cvan/pen/xZYKqO/left?editors=1100)
## Demo
__[View the demo](http://cvan.io/dom2screenshot/)__
## Credits
The secret sauce contains these following delicious ingredients:
* [html2canvas](https://github.com/niklasvh/html2canvas)
* [Uploadcare](https://uploadcare.com/)
* [CodePen](http://codepen.io/)## License
This program is free software and is distributed under an [MIT License](LICENSE).