Post AlDhaHVcFheKMZE0bA by rixx@chaos.social
 (DIR) More posts by rixx@chaos.social
 (DIR) Post #AlDgqwcr36C0Yzzb7I by rixx@chaos.social
       2024-08-22T08:21:15Z
       
       0 likes, 0 repeats
       
       TIL: relative colours in #CSS. You define an origin colour, and then modify (with the magic r/g/b/alpha variables for rgb) or override the values. Supported in all major browsers now (except Firefox for Android): https://caniuse.com/css-relative-colorsExample: Use the primary colour, but make it transparent and reduce how green it is:rgb(from var(--primary-colour) r calc(g/2) b / calc(alpha * 0.5))
       
 (DIR) Post #AlDgqxVnko93JPhTlI by rixx@chaos.social
       2024-08-22T08:29:20Z
       
       0 likes, 0 repeats
       
       Related: Is there something like a caniuse.com newsfeed that tells me when a feature has become supported by all major browsers (or, ideally, supported by major browsers for a month, half a year, a year …)?
       
 (DIR) Post #AlDgqyHessQThq5hM8 by rixx@chaos.social
       2024-08-22T08:39:10Z
       
       0 likes, 0 repeats
       
       Imagine if web.dev, the web development blog by the Chrome team, had the latest coolest tech like … RSS feeds for their blog. Then you could just subscribe to https://web.dev/series/baseline-newly-available and get notified about newly availble CSS features …(To add insult to injury, they load their list of blog posts via JS, so you can't even point a good feed reader at the /blog/ page and have it scrape for new posts. Eww.)
       
 (DIR) Post #AlDgqyqOniDPRaLRVQ by aral@mastodon.ar.al
       2024-08-22T08:42:26Z
       
       0 likes, 0 repeats
       
       @rixx Darn, I’d have expected better from a surveillance capitalist.
       
 (DIR) Post #AlDhaHVcFheKMZE0bA by rixx@chaos.social
       2024-08-22T08:50:40Z
       
       0 likes, 0 repeats
       
       @aral Yeah uh thank you for that contribution, very helpful, amaze
       
 (DIR) Post #AlDhdsXn0stI5sxORk by aral@mastodon.ar.al
       2024-08-22T08:51:20Z
       
       0 likes, 0 repeats
       
       @rixx Cool, cool.