Add fade-in animation to projects on larger screens

This commit is contained in:
dertyp7
2024-01-14 17:46:59 +01:00
parent 120205725c
commit fc6aa3d8c1

View File

@@ -15,10 +15,13 @@
}
&.active {
@media (min-width: 768px) {
.project {
opacity: 0;
animation: fadeIn 300ms ease-in-out forwards;
}
}
}
.grid {
padding: 1rem 0;
@@ -39,7 +42,6 @@
cursor: pointer;
max-width: 500px;
min-width: 300px;
opacity: 0;
&:hover {
border-color: var(--color-accent-background);