this post was submitted on 04 Oct 2023
8 points (83.3% liked)
Web Development
3434 readers
1 users here now
Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development
What is web development?
Web development is the process of creating websites or web applications
Rules/Guidelines
- Follow the programming.dev site rules
- Keep content related to web development
- If what you're posting relates to one of the related communities, crosspost it into there to help them grow
- If youre posting an article older than two years put the year it was made in brackets after the title
Related Communities
- !html@programming.dev
- !css@programming.dev
- !uiux@programming.dev
- !a11y@programming.dev
- !react@programming.dev
- !vuejs@programming.dev
- !webassembly@programming.dev
- !javascript@programming.dev
- !typescript@programming.dev
- !nodejs@programming.dev
- !astro@programming.dev
- !angular@programming.dev
- !tauri@programming.dev
- !sveltejs@programming.dev
- !pwa@programming.dev
Wormhole
Some webdev blogs
Not sure what to post in here? Want some web development related things to read?
Heres a couple blogs that have web development related content
- https://frontendfoc.us/ - [RSS]
- https://wesbos.com/blog
- https://davidwalsh.name/ - [RSS]
- https://www.nngroup.com/articles/
- https://sia.codes/posts/ - [RSS]
- https://www.smashingmagazine.com/ - [RSS]
- https://www.bennadel.com/ - [RSS]
- https://web.dev/ - [RSS]
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
(i haven't done webdev in YEARS so I'm pulling this out of my ass) what about a bigass png with transparency that follows your cursor?
Interesting. But won't it work only for the background? Waldo isn't part of the background, he is a separate object as he changes position after each time you find him and click on it (I forgot to mention this important point).
I looked up a guide, I wasn't too far off but this shows a better way to do it:
https://www.geeksforgeeks.org/how-to-create-a-spotlight-effect-using-html-and-css/
Just make your own image and get rid of this part:
/* Reduce the brightness of the image */ .img { filter: brightness(10%); }
You'd just have to make the image that follows your cursor have a higher z-index than Waldo