Doug Parker 🕸️ on Nostr: Anyone know if it's possible to remove all #CSS variables on an element? I'm thinking ...
Anyone know if it's possible to remove all #CSS variables on an element?
I'm thinking something like `all: initial;` but covering inherited CSS variables.
The solutions I'm finding involving looking at loaded stylesheets on the page, which feels way more heavyweight than this should be.
Published at
2025-06-18 22:35:18 UTCEvent JSON
{
"id": "2aa7d9f82e5af1fda998e419eda7ececfdbb35ec40fa7782dee2955264fd4c39",
"pubkey": "bb1742d1b321126a78c9a65acb9b810a49693c1b76b6446ae059fc3ff0cc2bf2",
"created_at": 1750286118,
"kind": 1,
"tags": [
[
"t",
"css"
],
[
"proxy",
"https://techhub.social/@develwithoutacause/114706751090492478",
"web"
],
[
"proxy",
"https://techhub.social/users/develwithoutacause/statuses/114706751090492478",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://techhub.social/users/develwithoutacause/statuses/114706751090492478",
"pink.momostr"
],
[
"-"
]
],
"content": "Anyone know if it's possible to remove all #CSS variables on an element?\n\nI'm thinking something like `all: initial;` but covering inherited CSS variables.\n\nThe solutions I'm finding involving looking at loaded stylesheets on the page, which feels way more heavyweight than this should be.",
"sig": "a4ce453dd160f1ec02d29c6477fbebf47779149b86b98afe3aa50ef98626727a3ebe7e28ba618a4618d770d41bd6f03543adda0329b8f2fa9b2ff0071907402a"
}