mirror of
https://github.com/DerTyp7/dertyp7.github.io.git
synced 2025-10-29 12:52:08 +01:00
Add fade-in animation to projects on larger screens
This commit is contained in:
@@ -15,10 +15,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
|
@media (min-width: 768px) {
|
||||||
.project {
|
.project {
|
||||||
|
opacity: 0;
|
||||||
animation: fadeIn 300ms ease-in-out forwards;
|
animation: fadeIn 300ms ease-in-out forwards;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.grid {
|
.grid {
|
||||||
padding: 1rem 0;
|
padding: 1rem 0;
|
||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user