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: Buttons - A CSS button library built with Sass and Compass

11 pointsby alexwolfealmost 12 years ago

2 comments

Timotheealmost 12 years ago
(disclosure: I work with Alex and he showed this to me before)<p>I think the page doesn&#x27;t emphasize enough the easy customization of these buttons: you can set the class names and base colors in one file and Sass will create the CSS for what <i>you</i> want. &quot;Base&quot; colors because the gradients, highlights and glows are then derived from only one color.<p>See this file in particular: <a href="https:&#x2F;&#x2F;github.com&#x2F;alexwolfe&#x2F;Buttons&#x2F;blob&#x2F;master&#x2F;scss&#x2F;_options.scss" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;alexwolfe&#x2F;Buttons&#x2F;blob&#x2F;master&#x2F;scss&#x2F;_optio...</a><p>The defaults look pretty yummy but the customization is key for your own use IMO.
zalewalmost 12 years ago
they look really good.<p><pre><code> $namespace: &#x27;.button&#x27;; &#x2F;&#x2F;prefix for all classes </code></pre> you made my day, sir. was just about to complain that .button may collide with Zurb Foundation&#x27;s styles (unless buttons not included), and I saw this. +1
评论 #5863332 未加载