GithubHelp home page GithubHelp logo

zhengxiuming / simple-flexible Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kujian/simple-flexible

0.0 2.0 0.0 14 KB

mobile frontend simple rem responsive code

Home Page: http://caibaojian.com/simple-flexible.html

License: Apache License 2.0

CSS 36.36% HTML 29.61% JavaScript 34.04%

simple-flexible's Introduction

simple-flexible

mobile frontend simple rem responsive code 兼容UC竖屏转横屏,手淘那个lib-flexible.js有bug.可以简单使用我这个。

项目介绍

How to usage

复制整个文件代码,放在网页的head中。 不需要定义body的font-size值。

PX与REM的转换(区别于手淘版)

1rem = 100px

假如你有一个块是.box{width:120px;height:80px;} 转为rem则为.box{width:1.2rem; height:.8rem;}

生产使用flexible-min.js

about

微博:http://weibo.com/kujian

simple-flexible's People

Contributors

kujian avatar

Watchers

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