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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Draw a horizontal tree using CSS pseudo elements

33 点作者 igauravsehrawat将近 8 年前

4 条评论

twooster将近 8 年前
This is really cool. Yet, somehow, as cool as it is, I find it terribly depressing. In comparison to other &quot;look what I can do&quot; projects -- such code golf, or demo programming, or quines -- which achieve impressive results in a constrained environment because it&#x27;s challenging, thousands of programmers have HAD to do silly things in CSS because there&#x27;s no other choice. These amazing-yet-hacky solutions get copy-pasted down through the generations and what should be simple becomes enshrined in the arcane. I look at this and become exhausted in empathy.<p>So in contrast to the opening line of the article, CSS is not amazing: people&#x27;s talent for threading camels through the eyes of needles is amazing. Props to this guy for this. May I never have to recreate it.
评论 #15028214 未加载
评论 #15026997 未加载
gurgus将近 8 年前
Very cool writeup. I love posts like this that cover random things like this. I&#x27;m definitely going to take this away and mess around with it!
ChrisSD将近 8 年前
It&#x27;s amusing that both this and &quot;SVG can do that?&quot;[1] are on the front page right now. Is it better to draw using HTML&#x2F;CSS or SVG? I guess the answer is complicated.<p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15023766" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15023766</a>
评论 #15026756 未加载
评论 #15027002 未加载
评论 #15026724 未加载
thinkMOAR将近 8 年前
By the title I thought it was a tree &#x27;tree&#x27;, with leaves and branches :) those you can find in a forest.<p>Though nice howto nonetheless :)
评论 #15026778 未加载
评论 #15026937 未加载