Family.scss

20 Sass mixins to help you manage :nth-child'ified elements

get it

Reviews

Discussion

You need to become a Contributor to join the discussion - Find out how.
Luky Vj
Luky VjMakerHiring@lukyvj · Frontend Developer @Algolia
Hey hey! Thanks a lot for hunting my project @micaelol! Even tho I would have like to wait a little bit before releasing it on PH, I'm happy to see it here. So, I decided to create this project after struggling with what I call "complex" css targeting. This small Sass library contains a bunch of helper mixins, that will make you save some time, instead of searching on google for the right syntax. I had a lot of fun making this project, and its landing page, and I hope you'll have as much pleasure using the mixins, as I had developing them! If you see any bugs, improvements, or have any ideas to make this lib even more awesome, feel free to ping me on Twitter! Cheers! --- EDIT : 4:35pm (GMT+1) After a few people asked me "why Family.scss", I decided to share the reason here, it's pretty easy to get though. Since, the main role of the mixins, is to manage nth-child, first-child, last-child, only-child.. I thought it was kinda right to call it "Family".
Tim Pietrusky
Tim Pietrusky@timpietrusky · CTO, Synoa
@lukyvj I freaking love it! Very good work.
Luky Vj
Luky VjMakerHiring@lukyvj · Frontend Developer @Algolia
@timpietrusky Thanks my bro
Fred Rivett
Fred Rivett@fredrivett · Co-founder @ The Dot
This is one of those tasks that I have to look up every.single.time. This looks perfect, using @content exactly as I'd want a tool like this to do. Also, to see @hugogiraudel in there gives this a big stamp of authority, that guy knows what he's doing. Super slick homepage too. Great job @lukyvj 👏
Luky Vj
Luky VjMakerHiring@lukyvj · Frontend Developer @Algolia
@fredrivett Thanks man, that comment is really warming me up :) You don't have any ideas about the "feebacks" I got for this project, some people must learn how to behave with others :) So thanks a lot for this comment which brighten my day!
Fred Rivett
Fred Rivett@fredrivett · Co-founder @ The Dot
@lukyvj Haha, there's always haters. Especially with code. Everyone is opinionated. But ultimately, selecting the :nth-child correctly isn't easy to achieve and is a powerful technique, so anything that abstracts that way into something simple like this gets my vote. Plus that homepage has clearly had a lot of love 👍
kushagra gour
kushagra gour@chinchang457 · A creative Human!
Very useful abstraction!
Luky Vj
Luky VjMakerHiring@lukyvj · Frontend Developer @Algolia
@chinchang457 Thanks Kushagra, glad you like it!
Enrico Cerroni
Enrico Cerroni@enricocerroni · G-maker
Simple and nice
Luky Vj
Luky VjMakerHiring@lukyvj · Frontend Developer @Algolia
@enricocerroni Thank you Enrico, I wanted to keep it simple, to avoid having trouble understanding how it was working. And it seems I got to make something that a lot of people find simple! Thanks!
Desmond Duggan
Desmond Duggan@desmondduggan2
This is amazing!
Luky Vj
Luky VjMakerHiring@lukyvj · Frontend Developer @Algolia