Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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)__.

[Screenshot of CodePen](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).