TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Buttons - A CSS button library built with Sass and Compass

11 点作者 alexwolfe将近 12 年前

2 条评论

Timothee将近 12 年前
(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.
zalew将近 12 年前
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 未加载