-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathintroStyle.css
86 lines (75 loc) · 1.41 KB
/
introStyle.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
77
78
79
80
81
82
83
84
85
86
@font-face {
font-family: fantFont;
src: url("image/dpcomic.ttf");
}
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
background: black;
animation: color-me-in 4s infinite;
overflow: hidden;
}
audio {
position: absolute;
opacity: 0;
}
@keyframes color-me-in {
0% {
background: orange;
}
100% {
background: black;
}
}
@keyframes bigger-me {
0% {
font-size: 8em;
}
100% {
font-size: 9em;
}
}
#clipped-title1 {
background: url(image/buttons.jpg) no-repeat center center;
background-size: cover;
color: #fff;
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
#clipped-title1 h1 {
font-size: 200px;
font-family: fantFont, fantasy;
text-align: center;
-webkit-transition: text-shadow 1s ease;
text-shadow: 0 0 1px rgba(0,0,0,.1);
margin: 0;
padding: 0;
}
#container-intro {
text-align: center;
}
.button {
font-family: fantFont, fantasy;
color: red;
font-size: 8em;
}
.button:hover{
font-size: 9em;
animation: bigger-me 0.39s infinite;
animation-direction: alternate;
}
footer {
position:absolute;
min-width: 10%;
margin-top: 17em;
padding: 1rem;
}
footer p {
font-family: fantFont, fantasy;
margin: 0.5rem;
text-align: right;
font-size: 2rem;
color: darkred;
}