forked from jugal09xx/face-expression-recognition-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
49 lines (44 loc) · 871 Bytes
/
style.css
File metadata and controls
49 lines (44 loc) · 871 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
body {
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
font-family: 'SF Pro Display', sans-serif;
font-weight: 600;
font-size: 2vh;
transition: 0.5s ease-in-out;
color: #fff;
text-align: center;
}
#video,
canvas {
align-items: center;
justify-content: center;
height: 100vh;
width: 100%;
object-fit: cover;
}
canvas,
#message {
margin: 0;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.state-happy,
.state-superhappy,
.state-growhappy {
background-image: url(img/frame-happy.png);
background-repeat: no-repeat;
background-position: center;
background-size: 100%;
}
.state-superhappy {
background-image: url(img/frame-superhappy.png);
}
.state-growhappy {
background-image: url(img/frame-growhappy.png);
}