News for hackers. Stuff that matters.
Re:jQuery 3.6.2 Released by DaiPlusPlus on Wednesday December 14, 2022 @04:24PM (#33990805)
> I've gotten in the bad habit of CSS vars for dynamic text

Can you elaborate on this trick?

Re:jQuery 3.6.2 Released by texxtxxet on Wednesday December 14, 2022 @04:27PM (#33990850)
Setting the `content` of a pseudo-element (like :before) to a variable with a text value (--sale-text: '50% off!').

I update the value of `--sale-text` to change all elements with that given classname to "25% off!" instead (for ex).