Giter VIP home page Giter VIP logo

double-seventh-festival's Introduction

Double-Seventh-Festival

项目简介

使用面向接口的编程方式,采用H5 + JS + CSS3的混合使用实现整个功能。通过使用多个精灵图以及雪碧图,实现了静与动的完美结合,为情侣们送上真挚的祝福。

具体功能实现

  • 自适应分辨率的问题可以采用的是JS +百分比布局处理
  • 通过合成 “雪碧图” 解决图片加载与资源占用的问题
  • 通过CSS3的动画实现帧动画,并且可以控制状态
  • 布局除了left.top布局外,还可以使用最新的CSS3的变换处理
  • 元素的变化,可以通过设置translate3d启动GPU加速
  • 可以用CSS3的过渡做渐变动画
  • HTML5音频的使用
  • 采用保证可以解决异步编程的逻辑嵌套问题

效果图

第一个界面:实现了小男孩走路、太阳、白云动画 Image1

第二个界面:实现了小男孩走路、进出超市、开关灯、飞鸟动画 Image2

第三个界面:实现了小男孩走路、上桥、星星、河流、转身动画 Image3

Image4

double-seventh-festival's People

Contributors

hann997 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.