LukyVj / family.scss

Family.scss is a set of Sass mixins which will help you to manage the style of :nth-child'ified elements, in an easy way.
http://lukyvj.github.io/family.scss
MIT License
2.31k stars 128 forks source link

Feature/#61 extend each #78

Open jolidog opened 8 years ago

jolidog commented 8 years ago

Fixes #61 #37 #67

Hi @LukyVj I needed the functionality requested in the previous issues so went ahead and wrote the code.

I'm using the :nth-child(3n + 1) method, where 1 indicates the offset.

Also updated the documentation and made every() an actual alias of each() with a different default starting point. They now use the same logic.

Caveats

LukyVj commented 8 years ago

Oops I'm sorry, I didn't had time to check before. I'll take care of it this weekend.

Thanks a lot for this!

jolidog commented 8 years ago

@LukyVj I'm assuming you haven't had time to review. Ping me if you need.

LukyVj commented 6 years ago

Could you please fix the conflict :) ? And I'm mergin it