Skip to content

Commit

Permalink
deploy: e4e3ccc
Browse files Browse the repository at this point in the history
  • Loading branch information
bebraw committed Oct 25, 2023
1 parent 5d468da commit 9b86435
Show file tree
Hide file tree
Showing 3 changed files with 161 additions and 0 deletions.
67 changes: 67 additions & 0 deletions assets/css/demo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
#value {
position: fixed;
right: 0;
bottom: 0;
margin-right: 1em;
margin-bottom: 1em;
}

#draggableParent {
position: relative;
}

#draggable {
right: 0;
position: absolute;
background-color: #ada;
border: 1px solid black;
width: 100px;
height: 100px;
text-align: center;
cursor: move;
}

#twodContainer {
top: 50px;
left: 50px;
overflow: scroll;
width: 150px;
height: 150px;
}

.twod {
background-color: #aad;
border: 1px solid black;
width: 200px;
height: 200px;
cursor: move;
}

.twod .pointer {
position: relative;
z-index: 2;
margin-left: -7px;
margin-top: -7px;
width: 10px;
height: 10px;
border: 2px solid black;
-mox-border-radius: 5px;
border-radius: 5px;
}

.oned {
background-color: #daa;
border: 1px solid black;
width: 300px;
height: 30px;
cursor: move;
}

.oned .pointer {
position: relative;
background-color: black;
z-index: 2;
margin-left: -2px;
width: 4px;
height: 30px;
}
1 change: 1 addition & 0 deletions demo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9b86435

Please sign in to comment.