Skip to content

Make UI walkthroughs easier and development more precise

License

Notifications You must be signed in to change notification settings

weijian-zhu/measure.js

Repository files navigation

Measure JS

GitHub Stars Github Forks GitHub Open Issues License

A JavaScript tool, prototype Reference Blue Lake (you can also use blue Lake without blue Lake), is designed to help develop more accurate and efficient restore design drawings, help designers more easily complete UI walkthroughs, and help test earlier detection problems.

Read this document in other languages: English, 简体中文.

How to use

  1. Move your mouse cursor to an element, and press Alt on Windows or ⌥ Option on a Mac,will displays the cssViewer panel for the selected element.

  2. Move the mouse cursor to another element and the measurement results will be displayed.

  3. In the cssViewer panel, you can Enter a color value (rGBA/hexadecimal format is supported) and press Enter for it to take effect

  4. Click on the color block area in the cssViewer panel to switch the color values between rgba and hexadecimal

Special operation

  1. Hold down with Shift key will freeze the measurement results, so that we can take a screenshot easier.

  2. After the measurement result is frozen, press Alt or press ⌥ Option on the Mac to unfreeze the measurement result

Warm tips

If you need to take snapshots but cannot take snapshots because the shortcut keys of snapshots contain Alt, the solution is as follows:

  1. You can always press Alt and then press other keys to capture the screenshot

  2. First click the outside of the page to make the current page out of focus, and then go to the screenshot

Chrome Extension

Drag and drop the Chrome directory in your project into Plug-in extension. You can use it as a Chrome plugin

demo

Contribute

You are free to fork the repository and submit pull requests. Bug reports in GitHub Issues.

License

Measure.js is MIT Licensed.

About

Make UI walkthroughs easier and development more precise

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published