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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Learn CSS Positioning

107 点作者 r11t超过 15 年前

9 条评论

unignorant超过 15 年前
Important to know, I suppose...<p>But if you are building a quick app or prototype, I've found frameworks like blueprint (<a href="http://www.blueprintcss.org/" rel="nofollow">http://www.blueprintcss.org/</a>) to be quite helpful.
评论 #1127357 未加载
评论 #1127058 未加载
volomike超过 15 年前
Don't forget to add a doctype. It can make the difference of night and day.
评论 #1127478 未加载
scorxn超过 15 年前
If you need your columns to be equal height (eg: full-height backgrounds) try <a href="http://www.alistapart.com/articles/holygrail/" rel="nofollow">http://www.alistapart.com/articles/holygrail/</a>
Groxx超过 15 年前
For a quick overview / intro, this is excellent. Fast, to the point, and clean. I wish I had this when I started.<p>Of course, with only 9 effective steps of a single demonstration, it's rather lacking in completeness. But that's not its point, and I love all the links in this thread. Loads of good stuff :)
verdant超过 15 年前
I read this tutorial a long time ago for a basic app I was working on and found it quite helpful. It was my first brush with css positioning
callmeed超过 15 年前
Awesome because #4 clears up some confusion I've had lately.
rbrcurtis超过 15 年前
Needs position:fixed
tel超过 15 年前
Step 11 should be: If you don't have an element to clear out the bottom, you can get limited functionality by applying<p><pre><code> overflow: hidden </code></pre> to the containing element. In most cases this will cause it to extend and prevent the inner elements from bleeding out. In some edge cases it will cause them to be hidden, though.
评论 #1127424 未加载
obeattie超过 15 年前
Yay! Just what the readers of Hacker News love to read… basic CSS tutorials! Can we have a "how to get amazing mouse cursors with JavaScript" one, too?
评论 #1127269 未加载
评论 #1127171 未加载
评论 #1127121 未加载
评论 #1128949 未加载