Giter Site home page Giter Site logo

zhbhun / responsive-cheker Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 952 KB

A simple tool to check our responsive web design of different devices on one Page.

Home Page: https://zhbhun.github.io/responsive-cheker/

CSS 63.18% JavaScript 12.91% HTML 23.91%

responsive-cheker's Introduction

A simple tool to check responsive web design of different devices on one Page.

Usage

  1. Copy index.html, src/responsive-checker.css, src/responsive-checker.js onto your project;
  2. Update the ResponsiveChecker instantiation code at the index.html, use your project web page urls;
  3. Open the index.html via a browser, recommend Chrome;

For Example: https://zhbhun.github.io/responsive-cheker/

Advanced

Responsive Checker has predetermined following deives

  • iPhone 5
  • iPhone 6
  • iPhone 6 Plus
  • Android Mobile
  • iPad
  • Android Tablet
  • Surface
  • MacBook

Whiling instancing ResponsiveChecker, you can offer devices list that you would like to test. Device item could be a string that represent predetermined decive, or a object with name, width and height.

new ResponsiveChecker({
  // urls: [...],
  // defaultIndex: 0,
  devices: [
    {
      name: 'MacBook Air',
      width: 1440,
      height: 900,
    }
  ],
});

TODO

  • Synchronize operation in all device.
  • Emulate touchable interaction without scrollbar.
  • Beautify.
  • Enhance toolbar.

responsive-cheker's People

Contributors

livebos-owner avatar zhbhun avatar

Watchers

 avatar  avatar

Forkers

lumunix

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.