-
Notifications
You must be signed in to change notification settings - Fork 1
/
style3.css
76 lines (69 loc) · 1.54 KB
/
style3.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
75
76
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro&family=Ubuntu:ital,wght@1,300&display=swap");
body {
background-color: black;
}
.text-box {
position: absolute;
top: 10%;
left: 50%;
transform: translate(-50%, -50%);
text-align:center;
}
.heading-primary1 {
color: white;
text-transform: uppercase;
}
.heading-primary-main1 {
display: block;
font-size: 60px;
font-weight: 400;
letter-spacing: 35px;
animation-name: moveInleft;
animation-duration: 2s;
}
@keyframes moveInleft {
0% {
opacity: 0;
transform: translateX(-100px);
}
80% {
transform: translateX(10px);
}
100% {
opacity: 1;
transform: translate(0);
}
}
.paragraph-box {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align:center;
}
.heading-primary {
color: white;
text-transform: uppercase;
}
.heading-primary-main {
display: block;
font-size: 30px;
font-weight: 400;
letter-spacing: 15px;
animation-name: moveInleft;
animation-duration: 2s;
}
@keyframes moveInleft {
0% {
opacity: 0;
transform: translateX(-100px);
}
80% {
transform: translateX(10px);
}
100% {
opacity: 1;
transform: translate(0);
}
}