Measure distances
Read the size of any element and the exact gap between two elements, in pixels, with rulers and a crosshair along the edges of the page.
Where to click
div.card240 × 168
24 px
div.cardSpace to pin
Box Model
width240pxheight168pxpadding24px
Text
font-familyInterfont-size16px
Accessibility
contrastAa15.8AAA
CSS variables Copy for Figma
.card-icon36 × 36
div.cards760 × 168
Design ToolkitCSS Inspector & Website to Figma★★★★★
Add to Chrome
Add “Design Toolkit”?It can read and change site data when you click it.CancelAdd extension
Design Toolkit has been added to Chrome
#E8883ACopied!
Animation copied for AIPaste it into ChatGPT, Claude or Cursor
div.card240 × 168
ElementPage
Export codeReading…98% matchPreview
Box ModelTypographyAnimations
TailwindHTMLReactVueElementor
Copy TailwindCopy React
See code
Animations (1)ReplayRescan
Copy for AI
CSS animations (1)
floatCSS Animationon .card-icon
duration2sdelay0seasingease-in-outiterationsinfinitedirectionalternate
0% { transform: translateY(0) }100% { transform: translateY(-6px) }
Transitions (1)
background-colorTransitionduration0.2seasingease
PaletteCSS variables
TypographyInter · 2 fonts
AssetsDownload All
DesktopEntire pageSelect element
CopiedPaste in Figma with Ctrl + V
Layers
card · Auto layout
Phone390 × 844
Tablet768 × 1024
Desktop1280 × 800
3 screens capturedDownload allCopy for Figma
Steps
- Press Alt+M. If the toolkit is already on, press M or click Measurement in the dock.
- Hover any element to read its width and height.
- Click the first element to select it.
- Hover a second element. Lines and labels show the distance between them on each side, in pixels.
- Click the selected element again, or press Space, to clear the selection.
Rulers and crosshair
In measurement mode, pixel rulers run along the top and the left edge of the page, and a crosshair follows your cursor. Use them to read a position or to check that two elements line up.
Measuring on other screen sizes
Measurement also works inside each screen of Responsive mode, and every screen gets its own rulers, so you can check the phone layout without resizing your window.
Tips
- Measure three or four gaps to find the spacing scale a site uses, for example 8, 16, 24 and 48.
- All values are CSS pixels, the same units as your CSS and your Figma frames.
Related
Last updated · Something wrong or missing? Tell us.