Author: | stevenlei |
---|---|
Views Total: | 92 views |
Official Page: | Go to website |
Last Update: | November 15, 2021 |
License: | MIT |
Preview:

Description:
Spacing.js is a JavaScript utility that allows you to check the container size and measure the spacing (in px) between two elements.
How to use it:
1. Download the package and import the Spacing.js Library.
<script src="./dist/bundle.js" defer></script>
2. Hover on an element and then press the Alt key (or ⌥ Option on Mac).
3. Hover on another element and you will see the spacing between those two elements.