Code Monkey home page Code Monkey logo

Comments (3)

cobish avatar cobish commented on September 12, 2024

10 月 26 日

JS

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

from demo.

cobish avatar cobish commented on September 12, 2024

10 月 27 日

Flexbox

flex-direction(排列方向)

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

from demo.

cobish avatar cobish commented on September 12, 2024

10 月 28 日

SVG

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

from demo.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.