# Lidar

> A free, open-source Chrome extension that measures sizes, spacing, distances and colors on any web page and reads
> you the computed CSS. No account, no paywall, no analytics.

- [Add to Chrome](https://chromewebstore.google.com/detail/lbkmnphpbdlhfgckhjjkglbencdjicpa)
- [Source code](https://github.com/vanisov/lidar) (MIT)
- [Pricing](https://lidarcss.com/pricing.md): free, every feature
- [Changelog](https://lidarcss.com/changelog.md)
- [Privacy](https://lidarcss.com/privacy.md)

## What it does

- **Measure**: size, padding and margin of whatever you hover. Pin one, hold Alt, read the distance to the next.
- **Rulers & Spread**: numbered rulers with the cursor marked. Spread draws lines to the nearest edge, visual or layout.
- **Inspect**: box model, font, colors, computed styles and a WCAG contrast grade. Arrow keys walk the DOM.
- **Flex & grid overlays, column grid, breakpoints, X-ray, find by selector.**
- **Copy**: any value in one click, a ready CSS rule, an element screenshot, or a markdown brief for an AI coding tool.

## Use

| | |
|---|---|
| Open / close | Click the toolbar icon, press `⌥L` on a Mac or `Alt+L` elsewhere, or right-click → **Inspect with Lidar**. `Esc` closes. |
| Measure | Hover anything. Click to pin it. |
| Distance | Pin an element, then hold `⌥` (Mac) or `Alt` and hover another. |
| Spread | Press `S` (or hold `⇧`) and lines run from the cursor to the nearest edge each way. Press `S` again to switch between **Visual** (stops at what you see) and **Layout** (stops at element boxes). |
| Rulers | Numbered every 100px (or whole rems), with the cursor's position marked on both rulers. |
| Layout | Hover a flex or grid container to see its tracks, gaps and line numbers. Breakpoints are marked on the top ruler. |
| Find | Press `/` and type a CSS selector. `↑` `↓` step through matches, `Enter` pins one. |
| Navigate | `↑` parent · `↓` first child · `←` `→` siblings |
| Tools | `M` measure · `D` distance · `S` spread · `C` color picker · `R` rulers · `G` column grid · `X` X-ray · `/` find |
| Copy | Click any value. **Copy CSS**, **Copy for AI**, **Screenshot** in the panel. |
