Rework style

This commit is contained in:
2025-10-30 20:53:36 +01:00
parent 41cdb5837d
commit a56f774525
7 changed files with 218 additions and 51 deletions

View File

@@ -39,7 +39,7 @@ export class CardTilter {
};
transform(rotationX, rotationY) {
this.card.style.transform = `translateY(-10px) perspective(${this.perspective}px) rotateX(${rotationX}deg) rotateY(${rotationY}deg) scale(1.05)`;
this.card.style.transform = `translateY(-5px) perspective(${this.perspective}px) rotateX(${rotationX}deg) rotateY(${rotationY}deg) scale(1.02)`;
}
reset(){