Re: [Selectors3] :nth-child(-negative)

On Wed, Aug 18, 2010 at 2:07 PM, Behdad Esfahbod <behdad@behdad.org> wrote:
> As was pointed out already, you can't do that without breaking stuff.  What I
> can suggest though would be to add syntax like :nth-child(last[-+]an[-+]b) to
> do what :nth-last-child() does right now.  For example: :nth-child(last) or
> :nth-child(last-2n).  That is, "last" is a number that adds to the an+b
> expression.

I don't see any reason to do this, given that nth-last-child() already exists.

~TJ

Received on Thursday, 19 August 2010 03:22:12 UTC