Re:Tetris and The Power Of CSS
by epidemian on Sunday November 10, 2013 @10:33PM
(#6709792)
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).
[ Parent
| on HN ]
There are no comments on this comment yet.