forked from muddhit/Hack-with-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.css
More file actions
57 lines (52 loc) · 1.08 KB
/
App.css
File metadata and controls
57 lines (52 loc) · 1.08 KB
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
.App {
text-align: center;
height: 100vh;
}
.App-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}
.App-header {
background: #0575e6; /* fallback for old browsers */
background: -webkit-linear-gradient(
to left,
#021b79,
#0575e6
); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(
to left,
#021b79,
#0575e6
); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
min-height: 1vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
main {
flex-grow: 1;
text-align: center;
padding: 25px;
margin-bottom: 85px;
}
main::after {
content: "";
background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.5)),
url("./Components/sunrise-clouds_00388817.jpg");
background-repeat: no-repeat;
background-size: cover;
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
z-index: -1;
}