Re:Tetris and The Power Of CSS
by oneeyedpigeon on Monday November 11, 2013 @04:06AM
(#6710689)
It staggers me when basic things like this are so late in the IE support game. I mean, IE6 - fair enough. And complicated, new layout stuff (columns, flexbox) - fair enough too. But selectors based on the index of an item in a list?! Why the hell did MIcrosoft drag their feet for so long and screw us all over - I can just imagine having to wait another 5 years before I can actually use this stuff...
Re:Tetris and The Power Of CSS
by oneeyedpigeon on Monday November 11, 2013 @07:32AM
(#6711261)
That requires javascript, so is appropriate for 'nice to have' design elements, but not for core layout, etc.
[0] https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-child
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/:last-child