Settings
800px length / 10px ticks / horizontal
Output
Horizontal pixel ruler + window and DPR info
Design Tools
Draw a horizontal or vertical pixel ruler on the page. Adjust length and tick spacing, and view window size plus device pixel ratio to check CSS pixel measurements against layouts and mockups.
Favorite this tool
No favorite storage mode has been selected.
Quick actions
Copy this tool URL or open the system share sheet on a supported device.
设计配色
屏幕信息
Settings
800px length / 10px ticks / horizontal
Output
Horizontal pixel ruler + window and DPR info
It draws in CSS pixels and also shows device pixel ratio so you can tell layout pixels from physical pixels.
Length is roughly 100–2000px; tick spacing options include 5, 10, 20, and 50px.
Tools
Continue with another translated tool for a nearby task.
CSS Unit Converter
Convert among px, rem, em, pt, vw, vh, and %. Customize root font size, parent font size, and viewport size for responsive work and design-to-code handoff.
Aspect Ratio Calculator
Compute and lock an aspect ratio in your browser. Derive a ratio from width and height, or change one side while the other stays proportional. Includes common presets and a preview for cropping, video frames, and responsive layouts.
CSS Clamp Generator
From min/max viewport widths and a target size range, compute a clamp() formula for fluid font sizes, spacing, and other lengths that scale with the viewport.