-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProjectsSection.module.css
More file actions
60 lines (54 loc) · 958 Bytes
/
ProjectsSection.module.css
File metadata and controls
60 lines (54 loc) · 958 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
48
49
50
51
52
53
54
55
56
57
58
59
60
/* PROJECTS */
:root {
--bg-gradient-projects: linear-gradient(
135deg,
#111827 0%,
#111827 10%,
#8ee0f2 10%,
#8ee0f2 80%,
#111827 80%,
#111827 80%
);
--footer-height: 60px;
}
.section {
margin-bottom: var(--footer-height);
padding: 2rem;
background: var(--bg-gradient-projects);
}
.columns {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
width: 100%;
margin: 0 auto;
}
@keyframes fadeUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fadeUp {
opacity: 0;
transform: translateY(20px);
animation: fadeUp 0.6s ease-out forwards;
}
/* less-than-large laptop */
@media (max-width: 1024px) {
.columns {
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
}
}
/* tablet / small-desktop */
@media (max-width: 768px) {
.columns {
grid-template-columns: repeat(1, 1fr);
gap: 1rem;
}
}