- From: Roman Komarov via GitHub <sysbot+gh@w3.org>
- Date: Fri, 16 Jun 2023 21:16:12 +0000
- To: public-css-archive@w3.org
Common use-cases for [pseudo-]randomness in CSS is for creating a visual variance between elements. Right now the most common way to achieve this is through “cicada principle” technique and adjacent methods ([original article](https://www.sitepoint.com/the-cicada-principle-and-why-it-matters-to-web-designers/), [article](https://lea.verou.me/2020/07/the-cicada-principle-revisited-with-css-variables/) by @LeaVerou), but it can be very tricky to set up. Actual usage from the top of my head (encountered in the last few months and remembered about them): - https://meyerweb.com/eric/thoughts/2020/04/15/pseudo-randomly-adding-illustrations-with-css/ - https://log.hidde.blog/books/ (colors can be randomized, rotation of the books is pseudo-randomized). - https://adrianroselli.com/ — the color scheme for the accent color is chosen randomly on page load. -- GitHub Notification of comment by kizu Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2826#issuecomment-1595327594 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 16 June 2023 21:16:14 UTC