-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex4.css
More file actions
77 lines (68 loc) · 1.31 KB
/
index4.css
File metadata and controls
77 lines (68 loc) · 1.31 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary-color: #efe9f2;
--secondary-color:rgb(255, 68, 0);
--complimentary-color: #14b634;
}
.container {
min-height: vh;
position: relative;
width: vw;
display: flex;
background-color: lightpink;
justify-content: center;
align-items: center;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
position: relative;
}
h1{
font-size: 40px;
color: var(--primary-color);
transform: translateY(-600px);
animation: 1.2s slideIn ease-in-out forwards 1s;
z-index: 10;
opacity: 0;
position: relative;
}
p {
font-size: 30px;
color: orange;
transform: translateY(-600px);
animation: 1.2s slideIn ease-in-out forwards 1s;
z-index: 2000;
opacity: 0;
position: relative;
}
h1::before {
content: '';
width: 0%;
height: 76px;
background-color: var(--secondary-color);
position: absolute;
bottom: -10px;
animation: 1s underline ease-in-out forwards 2s;
mix-blend-mode: screen;
}
@keyframes skewBg {
0% {
transform: scale(.5);
}
100% {
transform: scale(1);
}
}
@keyframes underline {
100% {
width: 100%;
}
}
@keyframes slideIn {
100% {
transform: translateY(0px);
opacity: 1;
}
}