-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.css
74 lines (63 loc) · 1.18 KB
/
app.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
html, body { display: table; width: 100%; height: 100%; }
body {
display: table-cell;
vertical-align: middle;
text-align: center;
}
.app {
margin: auto;
}
.title {
position: absolute;
top: 5%;
left: 0;
right: 0;
text-align: center;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 40px;
}
.photos {
position: relative;
height: 50vh;
}
img {
position: absolute;
top: 0;
left: 25%;
width: 50vw;
height: 50vh;
object-fit: cover;
border-radius: 20px;
}
button {
border-radius: 5px;
border: 0;
background-color: lightgrey;
width: 100px;
height: 40px;
margin: 10px;
}
input {
border-radius: 5px;
border: 1px solid black;
width: 100px;
height: 40px;
margin: 10px;
text-align: center;
}
.photo-enter {
opacity: 0.01;
transition: opacity .5s ease-in;
}
.photo-enter.photo-enter-active {
opacity: 1;
}
.photo-leave {
opacity: 1;
z-index: -1;
transition: opacity .5s ease-in;
}
.photo-leave.photo-leave-active {
opacity: .99;
} d�