Closed lachieh closed 1 year ago
Hi! Sorry for the late response!
Yeah, the idea of #37 ( and #61 ) is exactly the following :
... select every Nth item after the Xth child.
Thank you for your in depth explanations, and your participation. I don't really have time this week to take care of all the requests and issues fixing, but I'll definitely make a huge improvement for the next release, adding those new mixins ( which should be the v1.1.0 if everything goes as expected )
On it :)
Hey @LukyVj @jolidog, would you mind giving this a final push? :)
Hello @mzdr Yeah actually this totally got lost in my todo and as you may realize, I totally forgot about this.
I'm currently drowning into work, so if one of you feels like making a PR for it, I would gladly approve and merge it :)
Hey @LukyVj,
it’s all cool. I was hoping that @jolidog may finalize his PR #78? I think there is just a couple of conflicts left, as you wrote, which need to be solved.
I've just made another PR as #92. This is an extension of #78 but the only thing I added is the merge conflict.
This possibly relates to issue #37, but it may also want to be a separate function. It'd be great to have a function to select every Nth item after the Xth child.
For example:
would return
Note that it's
+9
, instead of+6
because+6
would highlight every 3rd including the 6th, instead of starting after. I've used this before for targeting the second row and on.In addition,
n-before
in the same format would also be helpful, utilizing:nth-last-child
instead ofnth-child