Coder Social home page Coder Social logo

mobile-web-onepage-scroll's Introduction

mobile web onepage scroll


好吧,名字取的实在是龊,想到好的名字时会更换一下。

webapp的视差效果能称为网页展现中的点睛之笔,而视差效果则取决于网页精灵的动画效果丰富程度。一直想写一个能够灵活添加动画效果的翻页webapp。之前利用cocos2d-js的丰富的场景切换动画和精灵动作写过一个插件,但最后出来的体积过于庞大,有牛刀杀鸡之感。

这次是基于zepto.js开发的插件,并使用了LESS来编写CSS3动画代码。在构建时可以只@import所需的动画文件即可,既能维护一个可扩展的动画库,又保证了最终上线的css文件的体积。

插件使用方法见example中的demo。

mobile-web-onepage-scroll's People

Contributors

loki951753 avatar

Watchers

James Cloos avatar  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.