-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
56 lines (50 loc) · 1.08 KB
/
style.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
.container {
padding: 4rem 2rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
align-items: center;
gap: 30px;
}
.container > a{
text-decoration: none;
}
.container > a:hover{
text-decoration: none;
transform: scale(1.05);
z-index: 2;
}
.container > a > div.element{
cursor: pointer;
border-radius: 30px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
background-color: #b9b9b9;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 350px 350px;
height: 350px;
}
.container > a > div.element > p{
color: black;
text-align: center;
font-size: 24px;
padding: 162px 0;
}
html, body {
width: 100%;
height:100%;
}
body {
background: linear-gradient(-45deg, #eec452, #031af0, #f60e0e, #7bff00);
background-size: 400% 400%;
animation: gradient 15s ease infinite;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}