working prototype of a drag and drop
This commit is contained in:
parent
f73fba40a9
commit
2f1bf9fe18
9 changed files with 160 additions and 19 deletions
|
|
@ -236,6 +236,22 @@ input[type="file"] {
|
|||
height: 5.65rem;
|
||||
}
|
||||
|
||||
#drop-area {
|
||||
position: fixed;
|
||||
width: 90%;
|
||||
height: 90%;
|
||||
left: 5%;
|
||||
top: 5%;
|
||||
background-color: rgba(38, 189, 38, 0.5);
|
||||
border: 0.3rem dashed rgba(38, 189, 38, 0.85);
|
||||
border-radius: 1rem;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
#drop-area.highlight {
|
||||
border-color: rgb(61, 228, 61);
|
||||
}
|
||||
|
||||
.hint {
|
||||
display: block;
|
||||
font-style: italic;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue