Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not only that: if the author wanted to extend the trick for N-column grids, then they'd probably need to use a CSS preprocessor to output the final CSS rules (e.g. for N=5, the widths would be 20% and there'd be 4 special :last-child:nth-child rules).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: