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 年 10 月,学习总结 #7

Open
cobish opened this issue Oct 13, 2016 · 3 comments
Open

2016 年 10 月,学习总结 #7

cobish opened this issue Oct 13, 2016 · 3 comments

Comments

@cobish
Copy link
Collaborator

cobish commented Oct 13, 2016

10 月 12 日

JS

  • 尽量不要使用 mouseovermouseout
  • 使用 mouseentermouseleave 代替。
@cobish cobish changed the title 2016 年 09 月,学习总结 2016 年 10 月,学习总结 Oct 13, 2016
@cobish
Copy link
Collaborator Author

cobish commented Oct 26, 2016

10 月 26 日

JS

  • click 作用域处理
for (var i=0; i<=2; i++) {
  (function(i) {
    $("#" + i).on("click", function(){
      alert(i);
    });
  })(i);
};

@cobish
Copy link
Collaborator Author

cobish commented Oct 27, 2016

10 月 27 日

Flexbox

flex-direction(排列方向)

  • row:水平方向排列,起点在左边;
  • row-reverse:水平方向排列,起点在右边;
  • column:垂直方向排列,起点在上面;
  • column-reverse:垂直方向排列,起点在下面。

@cobish
Copy link
Collaborator Author

cobish commented Oct 31, 2016

10 月 28 日

SVG

  • 用 6s 的 Safari 测试带有 svg 大图的网页,发现渲染速度极慢,故暂时移动端页面不考虑使用 svg。

@cobish cobish closed this as completed Jun 16, 2017
@cobish cobish reopened this Aug 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant