forked from joaquin-mari/Augsburg-Developers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCameraScreen.css
53 lines (50 loc) · 856 Bytes
/
CameraScreen.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
52
53
.screen-inner {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
.webcam {
width: 100%;
height: calc(100% - 60px);
position: absolute;
top: 0;
left: 0;
border-radius: 20px 20px 0 0;
width: 100%;
object-fit: cover;
}
.capture-btn {
cursor: pointer;
background-color: #333;
color: #fff;
border: none;
padding: 10px;
border-radius: 50%;
width: 80px;
height: 80px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
position: absolute;
bottom: 10%;
position: absolute;
bottom: 15%;
}
.capture-btn:hover {
transform: scale(1.1);
}
.fade-in {
animation: fadeIn ease 2s;
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}