feat: update transition styles for ProjectEntry to look better
This commit is contained in:
@@ -63,22 +63,21 @@
|
||||
text-wrap: pretty;
|
||||
text-wrap: balance;
|
||||
border-radius: 1rem;
|
||||
transition: box-shadow ease-in-out 0.1s, transform ease-in-out 0.3s 0s;
|
||||
will-change: rotate;
|
||||
transition: box-shadow ease-in-out 0s;
|
||||
|
||||
perspective: 1000px;
|
||||
|
||||
&:hover {
|
||||
transition: box-shadow ease-in-out 0.1s, transform ease-in-out 0.3s 0.5s;
|
||||
|
||||
transform: translateY(-0.5rem);
|
||||
transition: box-shadow ease-in-out 0.1s 0.4s;
|
||||
box-shadow: var(--color-card-box-shadow);
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
:global(article.in-view) {
|
||||
animation: shake 0.4s ease-in-out;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes shake {
|
||||
0%, 100% {
|
||||
|
||||
Reference in New Issue
Block a user