cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.


  Lately I have played with HTML5 file and d&d API:

  I end up developing a jQuery plugin...

  You can fork it on Github:

  Here is the quick demo.


<h1>Ezdz quick demo</h1>

  Fork it on 
  <a href="https://github.com/jaysalvat/ezdz">Github</a>

  <input type="file" accept="image/png, image/jpeg" />

<p>Png or Jpeg, max 600x400</p>
              body {
  font: 12px Arial;
  margin: 20px auto;
  text-align: center;
  width: 260px;

form {
  margin: 20px 0;
  text: 'drop a picture',
  validators: {
    maxWidth: 600,
    maxHeight: 400
  reject: function(file, errors) {
    if (errors.mimeType) {
      alert(file.name + ' must be an image');
    if (errors.maxWidth) {
      alert(file.name + ' must be width:600px max');

    if (errors.maxHeight) {
      alert(file.name + ' must be height:400px max');

Loading ..................