
Javascript
文章平均质量分 71
iwteih
淡泊以修身,宁静以养性
展开
-
!= and == vs. !== and ===
!= and == vs. !== and ===A common mistake that developers are susceptible to is the lack of understanding of falsevalues in JavaScript. In JavaScript, null, 0, ‘’, false, and undefined are all equal转载 2009-01-31 13:46:00 · 699 阅读 · 0 评论 -
static, absolute, relative, fixed
static 是默认的 flow absolute 是相对于该elment 第一个具有非static属性的parent的位移 position: absolute; top: 20px;left: 0px;. relative 是该element相对于原本应该的位置的位移,原来应该是什么概念呢,就是指默认的static的情原创 2009-04-03 11:14:00 · 906 阅读 · 1 评论