imporve cards animations
This commit is contained in:
@@ -133,7 +133,12 @@ function applyColor() {
|
||||
// --- Rotation complète ---
|
||||
function rotateBox() {
|
||||
if (!domBox.value) return
|
||||
|
||||
rotateX.value = -20
|
||||
|
||||
|
||||
rotateY.value = rotateY.value === 20 ? 380 : 20
|
||||
|
||||
applyTransform(0.8)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user