Ted Flynn 👽 on Nostr: Proposed Modern #CSS Hall of Fame Inductee: ``` .icon { display: inline-block; fill: ...
Proposed Modern #CSS Hall of Fame Inductee:
```
.icon {
display: inline-block;
fill: currentColor;
&:not(:is([height], [width])) {
height: 1em;
width: 1em;
}
}
```
Override default icon dimensions by manually setting attributes on the SVG.
Published at
2024-03-26 19:57:03Event JSON
{
"id": "a688064937cb7f2f5913a58529f9e7c7f52d4f476280a3d7b848ad5fbd6ad22c",
"pubkey": "f1ef1eb438d5c05d320de8990193d53a3a144d5a728b6a1556d5f86b832e3113",
"created_at": 1711483023,
"kind": 1,
"tags": [
[
"t",
"css"
],
[
"proxy",
"https://zirk.us/users/tflynn/statuses/112163751400171600",
"activitypub"
]
],
"content": "Proposed Modern #CSS Hall of Fame Inductee:\n\n```\n.icon {\n display: inline-block;\n fill: currentColor;\n\n \u0026:not(:is([height], [width])) {\n height: 1em;\n width: 1em;\n }\n}\n```\n\nOverride default icon dimensions by manually setting attributes on the SVG.",
"sig": "8b482987441c4753b4a1985a53ad3dfb14fb18204cbbcbf66a98deab1ce7c0f1d178e041caed0f934543a5ec025029e2a770fc84173f6814caf244144b4ec08d"
}