-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.css
51 lines (51 loc) · 832 Bytes
/
index.css
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
body {
display: flex;
align-items: center;
justify-content: center;
}
section {
width: 488px;
position: relative;
}
button {
position: absolute;
top: calc(45vh - 50px);
left: 10%;
width: 80%;
height: 60px;
background-color: transparent;
border: 1px solid gainsboro;
border-radius: 10px;
padding: 10px;
}
button + button {
top: calc(45vh + 30px);
}
input[type=file]{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
filter: alpha(opacity=0);
cursor: pointer;
}
.myCanvas {
position: absolute;
top: calc(5vh);
left: 10%;
width: 80%;
height: 250px;
background-color: #f5f5f5;
border-radius: 10px;
}
.myVideo {
position: absolute;
top: calc(60vh);
left: 10%;
width: 80%;
height: 250px;
background-color: #f5f5f5;
border-radius: 10px;
}