argyleink/prop-for-that: what JS knows, now CSS knows

"Sliders, pointer position, element visibility, viewport size, battery, network, sensors — JavaScript can read all of it; CSS can't. prop-for-that writes that runtime state into --live-* and --const-* custom properties — batched and diffed down to one setProperty per frame — so your CSS can compose and react to it with plain calc() and var()."

https://github.com/argyleink/prop-for-that

#css #js #nifty #webdev
GitHub - argyleink/prop-for-that

Contribute to argyleink/prop-for-that development by creating an account on GitHub.

GitHub

Well, I've bodged together a method of making #Emacs #Lisp function calls return different values based on the properties of #orgmode section headings containing the calling block.

I thought I might use it to fill in some boilerplate, indicated by a named quote block with custom percent expandos. And use that slightly varied boilerplate over and over again. But for the specific employer-related task I have in mind that just seems...underwhelming. Especially if it's a task I have to do 20 more times. There's a better automation path there.

(Those more experienced than I probably know exactly what functions are involved already!)

Regardless of whether it has application to a particular task, it is very #nifty that I can quite literally implement #madlibs by calling functions upon the very document I'm editing.

Sensex surges 544 points, Nifty nears 24,000 as US-Iran deal boosts market sentiment #Sensex #Nifty #USIran #socialnewsxyz
LEGO Batman's Commodore 64 BASIC easter egg - Waxy.org

"Cabel Sasser found a great easter egg in the new Lego Batman game. (Audio on!)"

https://waxy.org/2026/06/lego-batmans-commodore-64-basic-easter-egg/

#basic #batman #c64 #fun #nifty #retro
LEGO Batman's Commodore 64 BASIC easter egg - Waxy.org

Cabel Sasser found a great easter egg in the new Lego Batman game. (Audio on!) For anyone who grew up with a Commodore 64, this is perfect nerd sniping. I transcribed the C64 BASIC code from Cabel’s video for you to try yourself. Just copy the code below and paste it into your emulator of […]

Waxy.org
Sensex opened 322 points lower and Nifty slipped over 150 points as investors reacted to a weak monsoon forecast, geopolitical tensions and crude oil concerns. Check the latest stock market updates. https://english.mathrubhumi.com/news/money/sensex-nifty-fall-weak-monsoon-forecast-stock-market-today-j73eac0p?utm_source=dlvr.it&utm_medium=mastodon #Sensex #Nifty #monsoon #crudeoil #stockmarket