File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ const Cursor = ({ cursorVariant }) => {
44
44
45
45
return (
46
46
< motion . div
47
- className = "cursor max-lg:hidden size-8 bg-secondary dark:bg-primary fixed rounded-full z-50 pointer-events-none mix-blend-darken dark:mix-blend-difference top-0 left-0 flex justify-center items-center color-black"
47
+ className = "cursor max-lg:hidden size-8 bg-secondary dark:bg-primary fixed rounded-full z-50 pointer-events-none mix-blend-darken dark:mix-blend-difference top-0 left-0 flex justify-center items-center color-black opacity-0 transition-opacity duration-500 ease "
48
48
style = { {
49
49
x : mousePosition . x - 16 ,
50
50
y : mousePosition . y - 16 ,
Original file line number Diff line number Diff line change 67
67
body {
68
68
@apply bg-background text-foreground font-poppins;
69
69
}
70
+ # root : hover > .cursor {
71
+ opacity : 1
72
+ }
70
73
71
74
# root {
72
75
@apply h-screen w-screen flex flex-col overflow-x-hidden box-border;
You can’t perform that action at this time.
0 commit comments