Swipe
This commit is contained in:
@ -25,19 +25,20 @@
|
||||
max-width: 300px;
|
||||
max-height: 400px;
|
||||
cursor: pointer;
|
||||
transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
|
||||
transition: transform 0.05s ease-in-out, opacity 0.25s ease-in-out;
|
||||
}
|
||||
|
||||
.swipe-left {
|
||||
transform: translateX(-100%) rotate(-5deg);
|
||||
transform: translateX(-10%) rotate(-20deg);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.swipe-right {
|
||||
transform: translateX(100%) rotate(5deg);
|
||||
transform: translateX(10%) rotate(20deg);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
|
||||
.card {
|
||||
width: 80px;
|
||||
max-width: 300px;
|
||||
|
Reference in New Issue
Block a user