Chris Silverman 🌻 on Nostr: There have been a few times where I wished I was able to apply :before and :after ...
There have been a few times where I wished I was able to apply :before and :after pseudos to `<input type=button>`. I don't encounter this as much anymore, since `<button>` seems to be the more common usage, but sometimes I do find myself in a situation where I can't change the markup and I want to put a :before/after on an input-type button.
Published at
2024-07-05 20:26:15Event JSON
{
"id": "ecb1ba776d549e655314d11a81d942d32921d986313983059fb17f3fbb02a50e",
"pubkey": "ec364bf7459cb8349e38202dee38815671b23111eb218e21c2c53b5f72a2fa59",
"created_at": 1720211175,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/@csilverman/112735759571018404",
"web"
],
[
"p",
"8bff5ebd3f4844cfa5a2ce0dced884fabca6760d6468afc639128151f2d2eb82"
],
[
"e",
"75de9ffdfb27f2b6cb48b9c7acc6384ab78a2d4401eba211939799e764c7ce96",
"",
"root"
],
[
"proxy",
"https://mastodon.social/users/csilverman/statuses/112735759571018404",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/csilverman/statuses/112735759571018404",
"pink.momostr"
],
[
"expiration",
"1722803179"
]
],
"content": "There have been a few times where I wished I was able to apply :before and :after pseudos to `\u003cinput type=button\u003e`. I don't encounter this as much anymore, since `\u003cbutton\u003e` seems to be the more common usage, but sometimes I do find myself in a situation where I can't change the markup and I want to put a :before/after on an input-type button.",
"sig": "23b10dfecb7746dd46fd7ef2a50da42afce435ec046ff93d43705c629199dd97401aa223257b4691b4d53e6e60bb5384add60a3207242803bf97a24f757b3997"
}