-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (76 loc) · 1.29 KB
/
style.css
File metadata and controls
89 lines (76 loc) · 1.29 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
78
79
80
81
82
83
84
85
86
87
88
89
body {
width: 300px;
height: 230px;
background-color: #FFEBB2;
justify-content: center;
}
.heading{
text-align: center;
font-size: 30px;
color: #732C2C;
margin: 10px;
}
img {
display: flex;
margin-left: auto;
margin-right: auto;
padding-bottom: 6px;
width: 80px;
height: auto;
justify-content: center;
}
p {
display: flex; /* or inline-flex */
margin: auto 10px;
font-size: 22px;
color: #000000;
/* border-radius: 6px;
border: 4px solid #BAD9B5; */
padding: 10px;
text-align: center;
}
hr {
width: flex;
margin: 5px;
border: 1px solid #6F686D;
}
.joke {
margin-bottom: 10px;
font-size: 20px;
color: #732C2C;
}
@keyframes changeColor {
to {
color: #4CCD99;
}
}
body {
height: flex;
overflow: hidden;
}
h1 {
margin: auto;
font-size: 20px;
font-family: 'Roboto Slab', serif;
text-transform: uppercase;
justify-content: center;
text-align: center;
}
h1 span {
animation: changeColor 1.2s ease-in-out infinite alternate;
}
h1 span:nth-child(1) {
animation-delay: 0s;
}
h1 span:nth-child(2) {
animation-delay: 0.1s;
}
h1 span:nth-child(3) {
animation-delay: 0.2s;
}
h1 span:nth-child(4) {
animation-delay: 0.3s;
}
h1 span:nth-child(5) {
animation-delay: 0.4s;
}