Eric A. Meyer on Nostr: If you’re writing #SVG and want to put a stroke or halo around your text that ...
If you’re writing #SVG and want to put a stroke or halo around your text that doesn’t overwrite the letters:
`svg text {paint-order: stroke fill;}`
You’re welcome. #CSS
Published at
2024-12-15 02:39:50Event JSON
{
"id": "7fc67b645c3daedb48d8c7b7fc68db3799518eb78f0b85fe162fbf957fd383d5",
"pubkey": "6a32e47d258bb692f15a085dbdcb60ed381bb2921af6b4db1107a7ea545109cc",
"created_at": 1734230390,
"kind": 1,
"tags": [
[
"t",
"svg"
],
[
"t",
"css"
],
[
"proxy",
"https://mastodon.social/users/Meyerweb/statuses/113654522887668104",
"activitypub"
]
],
"content": "If you’re writing #SVG and want to put a stroke or halo around your text that doesn’t overwrite the letters:\n\n`svg text {paint-order: stroke fill;}`\n\nYou’re welcome. #CSS",
"sig": "cec835e848e73840e79a8d6216d73a7219cd4c83a9dcfe79f9e93cafab450e6516f8999795cc533f467103b97fb96602bb79fdd82a91652f88fc371c5d4c329f"
}