this post was submitted on 29 Aug 2025
214 points (95.3% liked)
Technology
74754 readers
2505 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I have always been intimidated by CSS. Is a random background color possible without JavaScript? Like https://notpurple.com/ ?
How timely a question: https://webkit.org/blog/17285/rolling-the-dice-with-css-random/
tl;dr: CSS is getting genuine random for exactly that soon
(Not my code)
https://codepen.io/beben-koben/pen/eYPNew
You might be able to use this idea and set the animation to 0 seconds.
On second thought I don’t think it’ll work.