Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
StyleSnap – CSS Inspector 预览

StyleSnap – CSS Inspector 作者: Matheus Mello

Hover any element to see its CSS, then copy clean code in one click. Free, with no account, ads or tracking.

可在 Android™ 版 Firefox 上使用可在 Android™ 版 Firefox 上使用
0(0 条评价)0(0 条评价)
下载 Firefox 并安装扩展
下载文件
扫码在 Android 版 Firefox 中打开此扩展

扩展元数据

屏幕截图
Hover any element to see its CSS, with an outline and size label on the page.Click to pin, press C, and clean CSS is on your clipboard. Dark theme.Settings: your Firefox shortcut and the inspector's keys.Copy formats, privacy facts and known limitations, in the dark theme.
关于此扩展
StyleSnap shows the CSS behind anything on a web page. Just hover.

• Hover to see an element's tag, classes and size, its text and background colours, and its CSS: typography, spacing, borders, shadows and flex/grid layout.
• Click to pin, then copy a clean CSS block. Values that match the browser's defaults for that tag are left out, and margin, padding, inset and border-radius shorthands are collapsed.
• Smart selectors: StyleSnap writes a short selector that matches only that element on the page.
• More formats: copy the element with all its children plus a minimal HTML skeleton, its matching :hover rules, common properties as utility classes, or a JSX style object.
• Keyboard friendly: ↑ parent, ↓ first child, ← → siblings, Space to pin, C to copy, Tab into the panel, Esc to exit.
• Light and dark panels that follow Firefox's website appearance, with WCAG AA text contrast.

Every feature is free. There is no account, no sign-up and no usage limit.

To start, click StyleSnap in Firefox's Extensions menu (the puzzle-piece button, where you can also pin it to the toolbar) or press Alt+Shift+C. To change the shortcut, open about:addons, then the gear menu, then Manage Extension Shortcuts. StyleSnap runs only on the tab where you start it, until you close it.

Privacy: when you start it, StyleSnap reads the page's element structure and styles on your device to show and copy CSS. It makes no network requests, stores nothing, and has no analytics, ads or tracking, and it declares to Firefox that it collects no data. It writes to your clipboard only when you copy, and never reads it.

Good to know: computed CSS approximates the styles a site's authors wrote. The :hover export reads only stylesheets the page lets extensions read and does not reproduce the full cascade. Utility classes cover common properties and may need adjusting for your framework. Firefox's own pages, addons.mozilla.org and other protected Mozilla sites, and content inside embedded frames can't be inspected.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 输入数据到剪贴板

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 用户支持网站
  • 支持邮箱
  • 复制附加组件 ID
版本
0.1.0
大小
36.39 KB
上次更新
22 天前 (2026年11月8日)
相关分类
  • 网页开发
许可证
保留所有权利
隐私政策
阅读此附加组件的隐私政策
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

下载

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

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

本站内容以知识共享署名-相同方式共享 v3.0 或任何更新版本授权(除非另有注明)。Android 系 Google LLC 的商标。