James Basoo on Nostr: lamp yeah I guess that works. It wont be as performant as pure CSS though so not the ...
lamp (npub1d8y…g8p7) yeah I guess that works. It wont be as performant as pure CSS though so not the kind of thing I'd ship now that CSS has aspect-ratio.
I was doing a YouTube embed too recently and grid + aspect-ratio was a very clean solution.
Published at
2023-10-14 22:21:45Event JSON
{
"id": "b32a6f4558613a94cc59f204412122746349fcfa49eb8e347e3f3caa3b64c106",
"pubkey": "0e92c1c61ef210708310f4b6be7f3052a10f379c3d1151e56d6ba67d6c056ef2",
"created_at": 1697322105,
"kind": 1,
"tags": [
[
"p",
"69c8971d2ad8c30a72bfc719a9941383205e7e0b274365dac90bdcccdf20ed5d",
"wss://relay.mostr.pub"
],
[
"e",
"1aca6bebbaf205d4b3684c7cf7ab11f7599e1cd6c2e68bb824e64d347043c343",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.social/users/Jbasoo/statuses/111235701490439631",
"activitypub"
]
],
"content": "nostr:npub1d8yfw8f2mrps5u4lcuv6n9qnsvs9ulstyapktkkfp0wveheqa4wsrvg8p7 yeah I guess that works. It wont be as performant as pure CSS though so not the kind of thing I'd ship now that CSS has aspect-ratio.\n\nI was doing a YouTube embed too recently and grid + aspect-ratio was a very clean solution.",
"sig": "5d20ad2885fd37e804e0927dd9b32e4939c25bec5917173b19686370b77a330b1b114fa970238c458af8119000e441318843a9920f591922174fe02d92761657"
}