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,8 +15,11 @@
} }
&.active { &.active {
.project { @media (min-width: 768px) {
animation: fadeIn 300ms ease-in-out forwards; .project {
opacity: 0;
animation: fadeIn 300ms ease-in-out forwards;
}
} }
} }
@@ -39,7 +42,6 @@
cursor: pointer; cursor: pointer;
max-width: 500px; max-width: 500px;
min-width: 300px; min-width: 300px;
opacity: 0;
&:hover { &:hover {
border-color: var(--color-accent-background); border-color: var(--color-accent-background);