CSS by T. Afif :verified: on Nostr: Another good idea: Let's invent something we call "a selector" that we can write ...
Another good idea: Let's invent something we call "a selector" that we can write inside the HTML.
You add the class to all the elements BUT only one of them will get the style. Clever!
The generated CSS? A few backslashes here and there but nothing fancy.
#CSS #HTML
Published at
2024-09-05 10:42:58Event JSON
{
"id": "6df9a945cc09ad356d30319873bb6531f7fd85d62c62eee579dae90ae557dd3e",
"pubkey": "714c2ce1e17b3904303c8ba064d418df7cb5a9d611e52521351cd929c2851319",
"created_at": 1725532978,
"kind": 1,
"tags": [
[
"t",
"css"
],
[
"t",
"html"
],
[
"proxy",
"https://front-end.social/users/css/statuses/113084529260991048",
"activitypub"
]
],
"content": "Another good idea: Let's invent something we call \"a selector\" that we can write inside the HTML.\n\nYou add the class to all the elements BUT only one of them will get the style. Clever!\n\nThe generated CSS? A few backslashes here and there but nothing fancy.\n\n#CSS #HTML\n\nhttps://cdn.masto.host/frontendsocial/media_attachments/files/113/084/526/687/123/409/original/42510033e40e5005.png",
"sig": "c27b51e5ea8a24af0aeccd6b65b9135f29f2d8b4ebae39ba98a6cdf793b88bc563fda751ef57a58abd5124da6757f1936ee59dbbe5cf80809c210a85c7ecd76b"
}