-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
57 lines (50 loc) · 875 Bytes
/
style.css
File metadata and controls
57 lines (50 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container,
.item {
box-sizing: border-box;
margin: 0;
padding: 0;
}
.container {
position: relative;
}
.container-style {
height: 80%;
width: 60%;
background-color: lightgray;
border: 2px dashed darkgray;
}
.item {
cursor: grab;
position: absolute;
left: 0;
top: 0;
right: 0;
transition: transform 0.2s ease-out;
}
.item-style {
display: flex;
justify-content: center;
align-items: center;
background-color: blanchedalmond;
border: 1px solid darkgrey;
color: gray;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
font-size: medium;
font-weight: 600;
}
.item-dragged {
cursor: grabbing;
transition: none;
opacity: 66%;
z-index: 1;
}
.item-selected {
background-color: burlywood;
color: darkgoldenrod;
}