Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文章更新 [ 2016-05-06 ] #83

Open
yutingzhao1991 opened this issue May 7, 2016 · 0 comments
Open

文章更新 [ 2016-05-06 ] #83

yutingzhao1991 opened this issue May 7, 2016 · 0 comments
Labels

Comments

@yutingzhao1991
Copy link
Owner

  • 学习 z-index (YIXUNFE)

    学习 z-indexz-index 是作为一个平常的 CSS 属性,我们在实践中经常会用到。它表示了元素在 Z 轴上的层叠关系,数值越大,就越上层。那么你知道在未设置 z-index 的时候,元素的层叠关系是如何的吗?带着这个疑问,我们一起来探寻关于 z-index 你所不知道的知识。
    z-index 的最大值早年前不少面试官都会问候选人:你知道 z-index 的最大值吗?...

  • addEventListener 的第二个参数还可以是一个对象 (lmk123)

    今天在开发 https://github.com/lmk123/t-rex-runner 的过程中,深扒了一下恐龙游戏的源码,居然看到下面这段代码:```jsRunner.prototype = { // ... startListening: function() { document.addEventListener( 'keydown', this ); // ... }};...

  • 今天发现个意外惊喜,原来日期函数还能这样玩 (mishe)

    原文链接> 对于JS的日期函数,前端的开发都是非常头痛的事,功能少而且不好用,特别是一些定制需求开发时,更是头大,今天发现上文提到的功能,实在是太棒了,原来还能这么玩 如何获得某个月的天数?```javascriptfunction getDays(year, month) { return new Date(year, month + 1, 0).getDate();...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant