Skip to content

Commit

Permalink
Clean up index.html. First working native DOM version.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephband committed Oct 28, 2016
1 parent ad6d799 commit 366cf51
Show file tree
Hide file tree
Showing 4 changed files with 276 additions and 378 deletions.
62 changes: 62 additions & 0 deletions css/demo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
.test_wrap {
height: 200px;
margin-bottom: 2em;
}

.test {
position: absolute;
left: 0;
top: 0;
background-color: red;
width: 200px;
height: 200px;
}

.resize, .rotate {
position: absolute;
width: 32px;
height: 32px;
}

.resize {
bottom: 10px;
right: 10px;
background: yellow;
}

.rotate {
top: 10px;
right: 10px;
background: orange;
}

.centre_mark,
.origin_mark,
.phantom_mark {
position: absolute;
top: 0;
left: 0;
background: orange;
width: 8px;
height: 8px;
margin-left: -4px;
margin-top: -4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
line-height: 8px;
text-transform: uppercase;
font-size: 10px;
font-family: Helvetica;
color: rgba(128,128,128,0.6);
text-indent: 8px;
border: 1px solid black;
}

.origin_mark {
background: rgba(128,128,128,0.6);
}

.phantom_mark {
background: rgba(128,128,128,0.6);
}
3 changes: 0 additions & 3 deletions event.move.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
"name": "Stephen Band",
"url": "http://stephband.info"
},
"dependencies": {
"jquery": ">=1.7.0"
},
"licenses": [{"url":"http://www.wtfpl.net/txt/copying/"}],
"files": ["js/jquery.event.move.js"],
"description": "jQuery special events movestart, move and moveend for tracking touch and mouse moves, throttled to browser animation frames, and exposing information about distance and velocity of fingers.",
Expand Down
Loading

0 comments on commit 366cf51

Please sign in to comment.