A lightweight, customizable on-screen ruler overlay for web pages, available in vanilla JavaScript and jQuery versions. It provides interactive rulers, dynamic unit conversions, snap guides, and element measurement tools. Available as an NPM package and standalone scripts.
From the README
ruler-js ruler-js is a lightweight, zero-dependency, and customizable on-screen ruler, snap guides, and element measurement tool for web pages. It renders interactive horizontal and vertical rulers, supports dynamic unit conversions (in, cm, mm, px), provides interactive crosshairs, interactive snap guides, and element bounding box / spacing inspection (via modifier key). Available as an NPM package as well as standalone Vanilla JavaScript and jQuery script-tag builds. • Creator Profile: https://modracx.com/ • GitHub Repository: https://github.com/Modracx/ruler-js --- Features • Dual Rulers: Simultaneously renders horizontal and vertical overlay rulers on target containers. • Multiple...
Skills
- JavaScript
- HTML