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 上使用
扫码在 Android 版 Firefox 中打开此扩展
扩展元数据
屏幕截图
关于此扩展
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.
• 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 位用户)
权限与数据
更多信息