diff --git a/app/app.vue b/app/app.vue index a605268..3c83e2c 100644 --- a/app/app.vue +++ b/app/app.vue @@ -71,10 +71,6 @@ input { @apply px-4 py-2 m-4 rounded-md text-center font-bold; } -button { - /* @apply bg-esyellow text-slate-700; */ -} - input[type='email'] { @apply bg-slate-900 text-esyellow; } diff --git a/app/components/Box.vue b/app/components/Box.vue index fbc7354..67c8806 100644 --- a/app/components/Box.vue +++ b/app/components/Box.vue @@ -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) } diff --git a/app/components/Boxes.vue b/app/components/Boxes.vue index 16e64cb..2432493 100644 --- a/app/components/Boxes.vue +++ b/app/components/Boxes.vue @@ -1,15 +1,11 @@