• 2024-12-08写一个鼠标跟随的特效
    //获取鼠标跟随的元素constcursorFollower=document.createElement('div');cursorFollower.id='cursor-follower';cursorFollower.style.position='fixed';cursorFollower.style.pointerEvents='none';//避免干扰其他元素的点击事件cursor