Giter VIP home page Giter VIP logo

dzoom's Introduction

##dzoom.js

Suitable for mobile Webpage development

适用于移动网页开发

A tool that Webpage adaptive screen resolution.

一个让网页自适应屏幕分辨率的工具

Page only using fixed like the number of width 320 to make, and others such as iPhone 6 and plus can be adaptive.

在页面开发的时候只需按照最大宽度是320px(iphone4、5)即可,其他的iphone6、plus 将能有同样的视觉效果

Because it is using the automatic zoom away, also can adapt many kinds of Android devices.

同样的也能在分辨率繁多的android设备中起作用,因为它采用的是缩放的方式

##How To Use

Introducing the steps in head.

在head中引入脚本就行了

  <head>
    ...
    <script src="dzoom.js"></script>
  </head>
  
  <body></body>

The above method is global, you also can separate a node set to do,like this.

你也可以单独对需要缩放的节点做包裹

  <div class="dzoom"> ... </div>

dzoom's People

Contributors

306808700 avatar

Watchers

 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.