UnitShift — CSS Unit Converter bởi Dixie Raiz Pacheco
Convert px, rem, and em units with one click inside Firefox DevTools. Select any element and apply conversions live.
Siêu dữ liệu mở rộng
Ảnh chụp màn hình
Về tiện ích mở rộng này
UnitShift is a DevTools sidebar that converts CSS units (px, rem, em) with one click — right where you're already inspecting elements.
The problem: AI-generated code and Figma-to-code workflows output everything in px. Converting to rem or em means mental math, calculators, or separate tools outside your workflow. Letter-spacing is especially tricky — its em value is relative to the element's own font-size, not the parent's.
How it works:
Open DevTools → Inspector panel
Select any element
UnitShift reads all computed CSS properties with unit values
Click a convert button to switch between px, rem, and em
The value is applied as an inline style instantly — same as editing in the Rules pane
Features:
Context-aware em conversion — knows that letter-spacing, word-spacing, and line-height use the element's own font-size, while padding, margin, and other box model properties use the parent's
Properties grouped by category: Typography, Spacing, Sizing, Position, Border
Bulk "Convert All" to switch every value at once
Configurable base font-size (default 16px)
Zero configuration needed — works out of the box
No permissions beyond DevTools access
Pure HTML/CSS/JS, no frameworks, no external requests
Who it's for: Front-end developers who work in DevTools daily, build from Figma designs, and need responsive, accessible CSS.
Built by Dixie Raiz Pacheco — dixieraizpacheco.com
The problem: AI-generated code and Figma-to-code workflows output everything in px. Converting to rem or em means mental math, calculators, or separate tools outside your workflow. Letter-spacing is especially tricky — its em value is relative to the element's own font-size, not the parent's.
How it works:
Open DevTools → Inspector panel
Select any element
UnitShift reads all computed CSS properties with unit values
Click a convert button to switch between px, rem, and em
The value is applied as an inline style instantly — same as editing in the Rules pane
Features:
Context-aware em conversion — knows that letter-spacing, word-spacing, and line-height use the element's own font-size, while padding, margin, and other box model properties use the parent's
Properties grouped by category: Typography, Spacing, Sizing, Position, Border
Bulk "Convert All" to switch every value at once
Configurable base font-size (default 16px)
Zero configuration needed — works out of the box
No permissions beyond DevTools access
Pure HTML/CSS/JS, no frameworks, no external requests
Who it's for: Front-end developers who work in DevTools daily, build from Figma designs, and need responsive, accessible CSS.
Built by Dixie Raiz Pacheco — dixieraizpacheco.com
Được xếp hạng 0 (bởi 1 người dùng)
Quyền hạn và dữ liệu
Quyền hạn bắt buộc:
- Mở rộng công cụ dành cho nhà phát triển để truy cập dữ liệu của bạn trong các thẻ đang mở
Thu thập dữ liệu:
- Nhà phát triển cho biết tiện ích mở rộng này không yêu cầu thu thập dữ liệu.
Thêm thông tin
- Liên kết tiện ích
- Phiên bản
- 1.0.0
- Kích cỡ
- 667,81 KB
- Cập nhật gần nhất
- 11 ngày trước (11 Thg 02 2026)
- Thể loại có liên quan
- Giấy phép
- Giấy phép MIT
- Lịch sử các phiên bản
- Thêm vào bộ sưu tập