Eystein on Nostr: A colleague asked me if they could set a row of elements to be of equal width to the ...
A colleague asked me if they could set a row of elements to be of equal width to the widest sibling. I'm positive this should be possible, but I'm stumped! Surely this is possible in CSS? Can anyone help me with this?
(Codepen as a starting point
https://codepen.io/eystein/pen/rNXdLqv )
#CSS #webdev
Published at
2024-10-29 09:00:29Event JSON
{
"id": "dfb6d479ba551b34602e08fbb3e8e70424037a1ec4ea12d5f9ef2c9f0421739b",
"pubkey": "058e9f072f719416fb177422af7f2eb6e9fbbad0a3691abdcb7b37d94466a6b2",
"created_at": 1730192429,
"kind": 1,
"tags": [
[
"t",
"css"
],
[
"t",
"webdev"
],
[
"proxy",
"https://front-end.social/users/eys/statuses/113389891088901175",
"activitypub"
]
],
"content": "A colleague asked me if they could set a row of elements to be of equal width to the widest sibling. I'm positive this should be possible, but I'm stumped! Surely this is possible in CSS? Can anyone help me with this?\n\n(Codepen as a starting point https://codepen.io/eystein/pen/rNXdLqv )\n\n#CSS #webdev",
"sig": "684947027f6f5ca4403abc4256f64072dfa701aa0459cc127533fc349982529d1a8a979600bd13008004d369698e10f4259a45beeec57ba2a6a54358ceb41b01"
}