-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extend Each mixin #37
Comments
I genuinely do not understand what you mean. Do you mind providing more information on what you are actually trying to achieve? |
Hey @Punk-UnDeaD I agree with @hugogiraudel, could you please add a bit more context and informations about your issue ? I'm not sure I got it neither. Thanks! |
|#|&|&|
I regularly use nth-child(3n+1) https://jsfiddle.net/9gwy4t8e/
It looks weird |
Hm, not sure what you mean. |
I'm not sure what @Punk-UnDeaD means, but I do think the Each mixin can be extended. A use case would be to have an initial offset, to support "After 5 elements, each 3rd one":
would yield:
Possible solutions:
What do you think? |
Scratch that, this is not how the |
I think you provided a really cool mixin :o ! I have a lot to do, I'll add this on the v1.0.5 this weekend! |
So, this is how the mixin could look like :
|
Thanks, @LukyVj! Will try that out soon. It seems that this mixin hardcodes a |
Wow, you're right! No it's not made on purpose, I was just tired and forgot to clean it :| Thanks for the heads up! |
So, after a lot of researches & tests, I'll remove it from this version, and I'll republish it on the next release. |
See : #61 I want to the $offset number to always be the first selected item. It requires a little bit more magic & gymnastic than expected. |
for grid like this
|#|&|&|
|#|&|&|
we need clear:left on first col
The text was updated successfully, but these errors were encountered: