3 ms·
tldr: li:nth-child(3n + 1):last-child { float: none; width: auto; } li:nth-child(3n + 2):last-child { width: 66.666%; }
by cheapsteak 13y ago
tldr:
li:nth-child(3n + 1):last-child {
float: none;
width: auto;
}
li:nth-child(3n + 2):last-child {
width: 66.666%;
}
- chii 13y agoi feel this should be a problem that's going to be solved by flex-box.
- psadauskas 13y agoI feel like the solution presented is the correct one. Using flex-box divs for everything won't be an improvement over table layouts.
- Nilzor 13y agoYes it will because you have separated layout from content