Coder Social home page Coder Social logo

interactiondemo's Introduction

interactionDemo

3D_parallax

采用CSS3的perspective实现的3D视差交互,PC端通过鼠标移动操作,移动端通过触屏滑动操作。

gradual_imgload

刷知乎时发现知乎采用了一种新的图片加载方式,图片在加载时会由模糊到清晰,此模块实现了类似功能。

nodelay_menu

利用延迟和去抖实现的二级菜单切换功能,并加入了用户行为预测。

pre_imgload

简单的图片预加载实现。核心代码为

var imgObj = new Image();
$(imgObj).on('load error', function () {

});
imgObj.src = src;

progress_indicator

在学习阮一峰老师的ES6入门时,无意中发现页面顶部进度条的交互,模仿实现了一个。原理简单,无需赘述。

interactiondemo's People

Contributors

shellyzzzzzzz avatar

Watchers

 avatar

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.