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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: A cleaner alternative to the “Fork Me on GitHub” ribbon

45 点作者 somecoder超过 9 年前

5 条评论

lewisl9029超过 9 年前
Very nice!<p>A while ago, I wanted to add a GitHub ribbon on my project page but didn&#x27;t want to load an 11 KB image that doesn&#x27;t even scale cleanly. I ended up going with the pure CSS route inspired by this post: <a href="https:&#x2F;&#x2F;unindented.org&#x2F;articles&#x2F;github-ribbon-using-css-transforms&#x2F;" rel="nofollow">https:&#x2F;&#x2F;unindented.org&#x2F;articles&#x2F;github-ribbon-using-css-tran...</a><p>With a pure CSS ribbon, you can also customize it to match your page&#x27;s theme perfectly instead of being limited to a few different color variations. Here&#x27;s what the end result looked like for my project page: <a href="http:&#x2F;&#x2F;toc.im&#x2F;" rel="nofollow">http:&#x2F;&#x2F;toc.im&#x2F;</a>
somecoder超过 9 年前
Made by Tim Holman: <a href="http:&#x2F;&#x2F;tholman.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;tholman.com&#x2F;</a>
cvburgess超过 9 年前
I like these a lot, kudos to the author for a clean design that matches most modern UIs!
avinassh超过 9 年前
This looks really nice! Thank you for making this.
avitzurel超过 9 年前
I really like those! Kudos!