Eric A. Meyer on Nostr: I know we have the `::backdrop` #CSS pseudo-element to style the backdrop between ...
I know we have the `::backdrop` #CSS pseudo-element to style the backdrop between `<dialog>` elements and the rest of the page, and that’s cool, but personally I get a lot of mileage out of:
```
dialog {
outline: 50vmax solid rgb(0 0 0 / 0.9);
}
```
…or values to that general effect.
Published at
2023-06-15 20:12:43Event JSON
{
"id": "4aca637c3a0fdb47147926f6f1c2fdd0f7cb3ca20207ddbdbbe4e564da6448c5",
"pubkey": "6a32e47d258bb692f15a085dbdcb60ed381bb2921af6b4db1107a7ea545109cc",
"created_at": 1686859963,
"kind": 1,
"tags": [
[
"t",
"css"
],
[
"mostr",
"https://mastodon.social/users/Meyerweb/statuses/110550054575143855"
]
],
"content": "I know we have the `::backdrop` #CSS pseudo-element to style the backdrop between `\u003cdialog\u003e` elements and the rest of the page, and that’s cool, but personally I get a lot of mileage out of:\n\n```\ndialog {\n outline: 50vmax solid rgb(0 0 0 / 0.9);\n}\n```\n\n…or values to that general effect.",
"sig": "4ea0e9efe0629ef3630129acf0de675d5ef64f993c6b248928c97d93fae0b510207516b862476ea78b7e65db3cfd1e213ace06f50aaa3b93186700193b9a6d00"
}