diff --git a/src/components/DiamondCursor.css b/src/components/DiamondCursor.css index cf66959..87c57cf 100644 --- a/src/components/DiamondCursor.css +++ b/src/components/DiamondCursor.css @@ -1,14 +1,15 @@ .cursor-diamond { - position: fixed; + position: fixed; /* stays fixed on screen */ top: 0; left: 0; width: 15px; height: 15px; - pointer-events: none; + pointer-events: none; /* doesn't block clicks */ transform: translate(-50%, -50%); z-index: 9999; - mix-blend-mode: screen; - animation: sparkleGemini 1.2s ease-in-out infinite; + mix-blend-mode: screen; /* makes it glow with background */ + animation: sparkleGemini 1.2s ease-in-out infinite; /* sparkle motion */ + transition: transform 0.1s ease-out; } @keyframes sparkleGemini {