FEATURE Adding a hover effect for the card
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2d8241ede0
commit
ec9f036628
|
|
@ -1,6 +1,11 @@
|
||||||
.post-card {
|
.post-card {
|
||||||
@apply p-8 border border-primary relative grid gap-y-4 gap-12 bg-white;
|
@apply p-8 border border-primary relative grid gap-y-4 gap-12 bg-white;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
|
|
||||||
|
transition: transform 0.3s ease-out;
|
||||||
|
&:hover {
|
||||||
|
transform: translateY(-4px);
|
||||||
|
}
|
||||||
@screen lg {
|
@screen lg {
|
||||||
grid-template-columns: 1fr 40px;
|
grid-template-columns: 1fr 40px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user