Jump to content
Search Community

The mouse follower is hidden underneath the video.

goodcontext
Moderator Tag

Go to solution Solved by mvaneijgen,

Recommended Posts

goodcontext
Posted

Hello.
The mouse follower is clearly visible in the red area at the top, but it's covered when you scroll down toward the video.
How can I make it visible?

Should I ask sourceforge instead of here?

See the Pen NWyRmZz by goodcontext (@goodcontext) on CodePen.

  • Solution
mvaneijgen
Posted

Due to your CSS your SVG was locked to the height of the `#wrap` and thus cut of your `circle` element. The SVG also had no `z-index` so it was lower underneath your video. I have removed and add some CSS to get the circle to show on top of everything and highlighted some elements to show you where they are.

 

See the Pen OJQRYZa by mvaneijgen (@mvaneijgen) on CodePen.

  • Like 3
goodcontext
Posted

Thank you for your answer.
But if you look at the cord pen, the mouse follower doesn't go down below the height of the woman's nose.
The same problem occurs when I apply it to my site.
What should I do to solve this, too?

goodcontext
Posted

I solved it myself. It works well when I change the svg's position: relative; to position: fixed;. Thank you.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...