Dodatki do przeglądarki Firefox
  • Rozszerzenia
  • Motywy
    • do Firefoksa
    • Słowniki i pakiety językowe
    • Inne strony
    • Dodatki na Androida
Zaloguj się
Podgląd „UnitShift — CSS Unit Converter”

UnitShift — CSS Unit Converter Autor: Dixie Raiz Pacheco

Convert px, rem, and em units with one click inside Firefox DevTools. Select any element and apply conversions live.

0 (recenzje: 0)0 (recenzje: 0)
Pobierz Firefoksa i to rozszerzenie
Pobierz plik

Metadane rozszerzenia

Zrzuty ekranu
O tym rozszerzeniu
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
Ocenione na 0 przez 0 recenzentów
Zaloguj się, aby ocenić to rozszerzenie
Nie ma jeszcze ocen

Zapisano ocenę w gwiazdkach

5
0
4
0
3
0
2
0
1
0
Nie ma jeszcze recenzji
Uprawnienia i dane

Wymagane uprawnienia:

  • Rozszerzać narzędzia dla programistów, aby uzyskać dostęp do danych w otwartych kartach

Zbieranie danych:

  • Autorzy tego rozszerzenia twierdzą, że nie wymaga ono zbierania danych.
Więcej informacji
Więcej informacji
Strony dodatku
  • Domowa
  • Pomoc
  • Adres e-mail pomocy
Wersja
1.0.0
Rozmiar
667,81 KB
Ostatnia aktualizacja
11 dni temu (11 lut 2026)
Powiązane kategorie
  • Narzędzia twórców witryn
Licencja
Licencja MIT
Historia wersji
  • Wszystkie wersje
Dodaj do kolekcji
Zgłoś ten dodatek
Strona domowa Mozilli

Dodatki

  • O serwisie
  • Blog dodatków do Firefoksa
  • Warsztat rozszerzeń
  • Strefa autora
  • Zasady programistów
  • Blog społeczności
  • Forum
  • Zgłoś błąd
  • Wytyczne recenzji

Przeglądarki

  • Desktop
  • Mobile
  • Enterprise

Produkty

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Prywatność
  • Ciasteczka
  • Kwestie prawne

O ile nie wskazano inaczej, treść tej strony jest dostępna na warunkach licencji Creative Commons Attribution Share-Alike w wersji 3.0 lub nowszej.