Cursor blend mode??
-
Hi everyone,
I’m wondering if it’s possible to create a custom cursor in Lay Theme using a blend mode effect.
Ideally, I’d like the cursor to automatically invert depending on the background — for example, if the cursor moves over a black area, it becomes white, and if it moves over a white area, it becomes black.
Has anyone tried something similar or knows how to achieve this?
Thanks!
-
#lay-dom-cursor {
mix-blend-mode: difference;
}And you can try this in Lay Options Custom CSS, but then make sure in Customizer your cursor has the DOM cursor setting enabled, and your cursor has to be white.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login