Added support for multiple drag/drop images, as well as successive images.

This commit is contained in:
Nathan Spady
2012-12-22 17:50:42 -06:00
parent bdbaf8c5d0
commit 1dd3764fd2
5 changed files with 131 additions and 103 deletions

View File

@@ -81,10 +81,17 @@ strong
font-weight: bold
/* Drag and Drop area */
#dropZone
.dropZone
width: 900px
height: 200px
margin-bottom: 60px
background: url("../img/drag_placeholder.png")
&.dragging
+box-shadow(inset 0 1px 10px #09A1EC)
.droppedImage
display: none
.targetImage
// width: 100%
/* Forms */
@@ -148,8 +155,7 @@ header
float: left
margin-right: 20px
background: url(../img/dark_checkered_bg.png)
.targetImage
+border-left-radius(10px)
overflow: hidden
.colors
margin-top: 20px
width: 400px