News for hackers. Stuff that matters.
Re:CSS Diner by CoryMathews on Tuesday March 25, 2014 @10:14AM (#7465956)
That makes very little sense.

Adding the bento: should have removed all the other items from selection.

It sounds like you are explaining a selector such as *:nth-last-child(4)

Re:CSS Diner by kremlin on Tuesday March 25, 2014 @01:43PM (#7467436)
it in fact works the way that 'makes very little sense'.

There is a good reason, though, and it's in keeping with the 'nth-of-type' selector logic: there is a selector that works the way you think, called nth-last-of-type[0]

[0] http://www.w3schools.com/cssref/sel_nth-last-of-type.asp

[sample page I made just for you on my github.io page] http://flanneljesus.github.io/

Re:CSS Diner by kremlin on Tuesday March 25, 2014 @12:18PM (#7466761)
i haven't tested it in actual html/css. I'll do that now. I'll get back to you with my results