goodcontext Posted May 13, 2022 Posted May 13, 2022 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 May 13, 2022 Solution Posted May 13, 2022 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. 3
goodcontext Posted May 13, 2022 Author Posted May 13, 2022 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 May 13, 2022 Author Posted May 13, 2022 I solved it myself. It works well when I change the svg's position: relative; to position: fixed;. Thank you. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now