Skip to content

Commit d8d5403

Browse files
author
Piotr Nalepa
committed
Updated CSS styling of temporary element
1 parent c24d9a4 commit d8d5403

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

dragster.style.css

+8-5
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,11 @@ body {
6767
top: 0;
6868
left: 0;
6969
cursor: move;
70-
box-shadow: 0 0 0 2px rgba(0,0,0,.5);
71-
top: 0;
72-
left: 0;
70+
opacity: 1;
71+
box-shadow: 0 0 5px 0 rgba(0,0,0,.5);
72+
transition:
73+
opacity .3s ease-in-out,
74+
box-shadow .3s ease-in-out;
7375
}
7476

7577
.dragster-block {
@@ -88,6 +90,7 @@ body {
8890
border: 1px dashed #000;
8991
}
9092

91-
.dragster-is-hidden {
92-
display: none;
93+
.dragster-temp.dragster-is-hidden {
94+
opacity: 0;
95+
box-shadow: none;
9396
}

0 commit comments

Comments
 (0)