-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
47 lines (46 loc) · 890 Bytes
/
style.css
File metadata and controls
47 lines (46 loc) · 890 Bytes
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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100&family=Roboto:ital,wght@1,100&display=swap');
body{
font-family: 'Roboto', sans-serif;
}
.container{
border: 1px solid black;
width: 90%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.hex-colors{
border: 1px solid black;
text-align: center;
}
.hex-colors h1{
font-size: 2rem;
text-transform: uppercase;
animation: colorChange 5s infinite alternate;
}
.hex-colors h2{
border: 1px solid black;
font-size: 2rem;
margin-top: 15%;
}
@keyframes colorChange{
0%{
color: antiquewhite;
}
20%{
color: green;
}
40%{
color: red;
}
60%{
color: gold;
}
80%{
color: pink;
}
100%{
color: indigo;
}
}