CSS by T. Afif :verified: on Nostr: use CSS variables object-position: var(--x) var(--y) then you update them using ...
use CSS variables
object-position: var(--x) var(--y)
then you update them using classes
.left {--x: left}
.bottom {--y: bottom}
and so on
Published at
2024-04-08 15:16:29Event JSON
{
"id": "9b9f56add73b629a23d86261c8d2869c8c89ffdd093a7e6ba0557e3a8e60edbe",
"pubkey": "714c2ce1e17b3904303c8ba064d418df7cb5a9d611e52521351cd929c2851319",
"created_at": 1712589389,
"kind": 1,
"tags": [
[
"proxy",
"https://front-end.social/users/css/statuses/112236258239099542",
"activitypub"
]
],
"content": "use CSS variables\n\nobject-position: var(--x) var(--y)\n\nthen you update them using classes\n\n.left {--x: left}\n.bottom {--y: bottom}\n\nand so on",
"sig": "0e098c8235b7100a3c9980fd197617803775cf390ce6113889f1815a607ebdb49b9a14bff328413e45cbcf4a4af03e09b8800a711f34efa143ee044210f7cffa"
}