Fix Postcard style and hover + rename class
This commit is contained in:
@@ -340,21 +340,20 @@
|
||||
|
||||
|
||||
// Postcard
|
||||
.post-card {
|
||||
.postcard {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
border-top-left-radius: 8px;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
// transform: translate3d(10%,25%,0) rotate(-2deg);
|
||||
transform: translate3d(12%, 23%, 0) rotate(-5deg);
|
||||
transition: opacity 0.4s var(--ease-quart), transform 1.2s var(--ease-quart);
|
||||
transition: opacity 0.4s var(--ease-quart), transform 1.0s var(--ease-quart);
|
||||
}
|
||||
|
||||
// Show postcard on hover
|
||||
&:hover {
|
||||
.post-card {
|
||||
.postcard {
|
||||
opacity: 1;
|
||||
transform: translate3d(3%,3%,0) rotate(2deg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user