Giter Site home page Giter Site logo

domzoom.js's Introduction

domzoom.js

本项目仅为学习使用

you can zoom dom in your page.

可以对页面元素进行缩放的JavaScript插件,无需jQuery等插件依赖。此插件参考自zoomerang@yyx990803,借鉴了部分功能function,对缩放逻辑重新设计。

update:

2015/12/6:基础缩放功能已经完成,未添加API,zoom-in\zoom-out属性在IE下存在bug

2015/12/10: 增加API,可通过config对插件进行初始化,当前API有:showTime、bgColor、scale和bgOpacity。制作了一个简单的demo。 TODO:

bug:对浮动图片缩放效果不佳、带文字div放大后文字显示不全、body不是100%高度时bug。

domzoom.js's People

Contributors

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