instead of the ping animation, can you do like a scroll animation, so instead of the…
- User
instead of the ping animation, can you do like a scroll animation, so instead of the white dots pinging, its doing this scroll animation from top to bottom
Assistant
Here's a scrolling wheel animation inside a mouse icon that moves from top to bottom (like a real scroll wheel) instead of a ping effect:
🎨 Updated Scroll Indicator (Mouse with Scrolling Wheel)
<div className="absolute bottom-6 z-10"> <div className="w-6 h-10 rounded-full border-2 border-black dark:border-white flex items-center justify-center"> {/* Scrolling wheel (moves from top to bottom) */} <div className="w-0.5 h-2 bg-black dark:bg-white rounded-full relative overflow-hidden"> <div className="absolute top-0 left-0 w-full h-full bg-black dark:bg-white animate-scroll-wheel" /> </div> </div> </div>🔧 Add This CSS Animation to Your Global Styles
@keyframes scroll-wheel { 0% { transform: translateY(-100%); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } } .animate-scroll-wheel { animation: scroll-wheel 1.5s infinite ease-in-out; }📌 Full Placement in Your Code
Place it inside your hero section, just before the closing
</div>of thez-10container:<motion.div> {/* Your existing title and icons */} </motion.div> {/* Scroll indicator (mouse with scrolling wheel) */} <div className="absolute bottom-6 z-10"> <div className="w-6 h-10 rounded-full border-2 border-black dark:border-white flex items-center justify-center"> <div className="w-0.5 h-2 bg-black dark:bg-white rounded-full relative overflow-hidden"> <div className="absolute top-0 left-0 w-full h-full bg-black dark:bg-white animate-scroll-wheel" /> </div> </div> </div>✨ How It Works:
- Mouse Shape: A rounded rectangle (
w-6 h-10 rounded-full border-2). - Scroll Wheel: A thin vertical line (
w-0.5 h-2) that animates downward. - Animation: The wheel "scrolls" from top to bottom (
animate-scroll-wheel).
This creates a subtle but clear visual cue that the page is scrollable. 🚀
- Mouse Shape: A rounded rectangle (
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.