Buscador de complementos para Firefox
  • Extensiones
  • Temas
    • para Firefox
    • Diccionarios y paquetes de idiomas
    • Otros sitios de navegadores
    • Complementos para Android
Iniciar sesión
Vista previa de Layout Lens

Layout Lens por tomvansichem

Hover an element to see its padding and margin, and what silently changed its size: transforms, clipping, min/max.

0 (0 reviews)0 (0 reviews)
Descarga Firefox y obtiene la extensión
Descargar archivo

Metadata de la extensión

Capturas de pantalla
Sobre esta extensión
Layout Lens answers one question on hover: why is this element the size it is?

It draws the padding and margin overlay, then names the reasons the rendered size disagrees with the CSS you wrote.

What it flags
  • Size mismatch (red). The CSS box size and the painted size disagree. A CSS transform on the element or an ancestor is the usual cause, and the tooltip names which ancestor.
  • Clipped content (amber). overflow: hidden or clip is cutting content off with no scrollbar to reach it, including text-overflow: ellipsis truncation. Scrollable containers are not flagged; that content isn't lost.
  • Width or height pinned by min- or max- (info line). The element is sized by min-width, max-width, min-height or max-height rather than by width or height. Computed style can't show you this; it reports the clamped result.
  • Wider than the viewport (info line). The element's own box runs past the page, a common source of an unwanted horizontal scrollbar.

How it works
  • Alt+S: toggle the inspector on the current tab, all frames
  • Mouse: measure the element under the cursor
  • ↑ / ↓: walk to the parent, then back down toward where you started
  • f: pin an element. The overlay keeps tracking it through scroll, so you can scroll away to compare, or move to DevTools
  • c: copy the measurement block to the clipboard
  • Alt+U: cycle the displayed unit: px → rem → em
  • Esc: off

Shortcuts are rebindable at about:addons → gear menu → Manage Extension Shortcuts.

The page stays fully interactive throughout. Clicks, hovers and scrolling all work. Only ↑ / ↓ / c / f are intercepted, and never while you're typing in a field.

What it doesn't do

No account, no options page, no settings. It does nothing until you press the shortcut, and leaves no trace on the page when you turn it off.

It collects nothing and sends nothing anywhere. It stores one value: an on/off flag per tab, held in memory and cleared when you close the browser. Never written to disk.

Limitations

↑ / ↓ walk one frame's DOM and can't cross an iframe boundary. The size check fires on transforms, not on flex-shrink or zoom, because computed style already reports the used value in those cases.

Source: https://github.com/tomvansichem/layout-lens
Rated 0 by 0 reviewers
Inicia sesión para evaluar esta extensión
Todavía no hay valoraciones

Se guardó la valoración

5
0
4
0
3
0
2
0
1
0
Aún no hay revisiones
Permissions and data

Permisos requeridos:

  • Acceder a tus datos para todos los sitios web

Data collection:

  • The developer says this extension doesn't require data collection.
Saber más
Más información
Enlaces del complemento
  • Página de inicio
  • Ayuda del sitio
  • Copy add-on ID
Versión
1.1.0
Tamaño
24,36 KB
Última actualización
hace 7 días (24 de sep. de 2026)
Categorías relacionadas
  • Desarrollo web
Licencia
MIT License
Política de privacidad
Leer la política de privacidad de este complemento
Historial de versiones
  • Ver todas las versiones
Añadir a la colección
Informar sobre este complemento
Ir a la página de inicio de Mozilla

Complementos

  • Acerca de
  • Blog de complementos de Firefox
  • Taller de extensiones
  • Central del desarrollador
  • Normativas para desarrolladores
  • Blog de la comunidad
  • Foro
  • Informar de un error
  • Guía de revisión

Download

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacidad
  • Cookies
  • Legal

A menos que se indique lo contrario, el contenido de este sitio está licenciado bajo la licencia Creative Commons Reconocimiento Compartir-Igual v3.0 o una versión posterior.