Answer the question
In order to leave comments, you need to log in
How to make an illuminated area around the cursor in a shaded picture?
I'm trying to make a lighted area on a shaded image that would follow the cursor. Is it possible to do this in css at least statically? I haven't come up with a way. If you manage to do this on css, then it remains to add a script for tracking the cursor, there are a couple of lines.
Tried experimenting with blend mode:
background: transparent radial-gradient(ellipse at center center , rgb(200, 200, 200) 0%, rgba(100, 100, 100, 0) 50%) repeat scroll 0% 0%;
mix-blend-mode: color-burn;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question