3 ms·
Like `display: flex; flex-direction: column; width: 100%;`?
by Looky1173 3y ago
Like `display: flex; flex-direction: column; width: 100%;`?
- oceankid 3y agosection { display: flex; flex-wrap: wrap; } section > * { flex: 0 0 auto; } section > *:not(:last-child) { margin-right: 1rem;}
- aerio 3y agoPersonally that is a terrible idea. <section> should be used for semantic purposes, not layout. Also, why not use "gap" instead of "margin-right-but-not-last-child"?