ffi
This commit is contained in:
parent
ac8d86a18e
commit
7c371c723d
@ -15,7 +15,7 @@ export function useMouseRotation() {
|
||||
const rotationY = -(relX / halfWidth);
|
||||
const rotationX = relY / halfHeight;
|
||||
|
||||
cardStyle.transform = `rotateX(${rotationX * 10}deg) rotateY(${rotationY * 10}deg)`;
|
||||
cardStyle.transform = `rotateX(${rotationX * 5}deg) rotateY(${rotationY * 5}deg)`;
|
||||
};
|
||||
|
||||
const startTracking = (event) => {
|
||||
|
@ -388,7 +388,7 @@ onUnmounted(() => {
|
||||
transition: transform 0.1s ease;
|
||||
transform-style: preserve-3d;
|
||||
cursor: pointer;
|
||||
perspective: 400px;
|
||||
perspective: 1000px;
|
||||
}
|
||||
.card-title {
|
||||
font-size: 80px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user