TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Family.scss – a set of 20 smart SASS mixins

88 pointsby redox_almost 9 years ago

9 comments

tobralmost 9 years ago
Looks like a great utility, but the output css isn&#x27;t very compact. For example,<p><pre><code> ul li:nth-child(1) { background: red } ul li:nth-child(2) { background: red } ul li:nth-child(3) { background: red } </code></pre> should just be<p><pre><code> ul li:nth-child(1), ul li:nth-child(2), ul li:nth-child(3) { background: red } </code></pre> Also, it&#x27;s not very clear how to download the family.scss file, it&#x27;s buried deep in an oddly named subfolder in the repo.
评论 #11749783 未加载
评论 #11750347 未加载
评论 #11749743 未加载
评论 #11749635 未加载
pedalpetealmost 9 years ago
I&#x27;m not sure who&#x2F;why somebody would use this library when it is fairly easy to write these selectors using just CSS (for most use cases anyway).
评论 #11752468 未加载
atriixalmost 9 years ago
For anyone else searching, the actual file is <a href="https:&#x2F;&#x2F;github.com&#x2F;LukyVj&#x2F;family.scss&#x2F;blob&#x2F;master&#x2F;source&#x2F;src&#x2F;family.scss" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;LukyVj&#x2F;family.scss&#x2F;blob&#x2F;master&#x2F;source&#x2F;src...</a>
supernintendoalmost 9 years ago
Hey, great work. I don&#x27;t have a personal use for this but for designers building a lot of static sites, it could be nice. I will say that you can achieve the same effect using classes with less bloat in your compiled CSS.
评论 #11749773 未加载
wes-kalmost 9 years ago
Nice library!<p>Note: there&#x27;s a small bug in the first example. Css output sets &#x27;color&#x27; while the scss used &#x27;background&#x27;.
评论 #11753225 未加载
angry-hackeralmost 9 years ago
The website is somehow able to hang and crash my Chrome browser on Android. Just thought I&#x27;ll let you know.
评论 #11753227 未加载
Illniyaralmost 9 years ago
Looks nice, but I&#x27;ve never had the need for anything other then first&#x2F;last and even&#x2F;odd myself.
评论 #11749759 未加载
hobonumber1almost 9 years ago
Nice work! Great docs.
评论 #11749774 未加载
restlessdesignalmost 9 years ago
Sass* :)