Skip to content

Commit

Permalink
add a little fade in to proplates :3
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsVipra committed May 28, 2023
1 parent 9e959a8 commit c0f00aa
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/styles/proplate.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
margin-left: 0.5rem;
display: inline-flex;
text-transform: lowercase;
animation: proplate-fadein .15s linear;
}

/* dark theme */
Expand Down Expand Up @@ -68,3 +69,18 @@
rgba(255, 0, 0, 1) 100%
);
}

@keyframes proplate-fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}

@media (prefers-reduced-motion) {
.protoots-proplate {
animation: none;
}
}

0 comments on commit c0f00aa

Please sign in to comment.