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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Quick Advice on CSS Zen Garden

2 点作者 theshire超过 8 年前
So I just discovered this pretty fantastic site. it seems like a well respected site on HN.<p>I&#x27;m still in process of learning CSS and HTML. How would you recommend learning from a site like this and what approach did you take?<p>Should I try and make some of the sites they have on there on my own? following the source code see if I can match the original designs?

2 条评论

HelloNurse超过 8 年前
CSS Zen Garden is meant mostly as a testimonial of the effectiveness of well-written CSS without hacks, not as a reference of good web design or as demos of fancy techniques. What you should emulate is the natural, semantic markup of the pages, not the whimsical designs.<p>In their own words:<p>Where possible, we would like to see mostly CSS 1 &amp; 2 usage. CSS 3 &amp; 4 should be limited to widely-supported elements only, or strong fallbacks should be provided. The CSS Zen Garden is about functional, practical CSS and not the latest bleeding-edge tricks viewable by 2% of the browsing public. The only real requirement we have is that your CSS validates.
brudgers超过 8 年前
My random internet advice: if the exercise of building sites by following the source code seems interesting, go for it. Later, if it seems like you&#x27;re not getting much out of it, stop. That&#x27;s not advice specific to Zen Garden. You will always have some unique combination of experience and this might (or might not) be an interesting type of experience to acquire.