CSS by T. Afif :verified: on Nostr: While the new attr() feature is great, I have a bad feeling that it will get used the ...
While the new attr() feature is great, I have a bad feeling that it will get used the wrong way.
A certain framework might do the below in the future. šµāš«
Yes, it works but it's a very bad idea!
(It can be tested on Chrome V133 Beta)
#CSS #HTML
Published at
2025-01-16 12:07:52Event JSON
{
"id": "96b0f3a39aa28c70aadf7e03abf98073dfe69c9053c0505e1815d2856fe5119d",
"pubkey": "714c2ce1e17b3904303c8ba064d418df7cb5a9d611e52521351cd929c2851319",
"created_at": 1737029272,
"kind": 1,
"tags": [
[
"t",
"css"
],
[
"t",
"html"
],
[
"imeta",
"url https://cdn.masto.host/frontendsocial/media_attachments/files/113/837/947/317/389/310/original/3302a284ad5cf48a.png",
"m image/png",
"dim 1110x492",
"blurhash UZDv.vof-;j]x]j@axfQ_4fRRij[tRa|WBfQ"
],
[
"imeta",
"url https://cdn.masto.host/frontendsocial/media_attachments/files/113/837/947/946/089/384/original/79d47b517df331e4.png",
"m image/png",
"dim 1064x752",
"blurhash URCZ*Aj[?ckCxvj[ayfQ_4j[Rjj[tRfjaefQ"
],
[
"proxy",
"https://front-end.social/users/css/statuses/113837950396971810",
"activitypub"
]
],
"content": "While the new attr() feature is great, I have a bad feeling that it will get used the wrong way.\n\nA certain framework might do the below in the future. šµāš« \n\nYes, it works but it's a very bad idea!\n\n(It can be tested on Chrome V133 Beta)\n\n#CSS #HTML\n\nhttps://cdn.masto.host/frontendsocial/media_attachments/files/113/837/947/317/389/310/original/3302a284ad5cf48a.png\nhttps://cdn.masto.host/frontendsocial/media_attachments/files/113/837/947/946/089/384/original/79d47b517df331e4.png",
"sig": "f2c1f5e1ff3a1ae1086ba6bed75908714f51276b60b037625f42d8a04270eaad19dea9fcb24b4d045f9e84b3991576bd3297632957a8b2682ce3fbd80772d4f8"
}