Greasy Fork is available in English.

Debug CSS

A script to show outline of all the element exist on page. (origin: Debug-CSS Firefox Extension)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
Hamadah2O2
1日のインストール数
0
累計インストール数
0
評価
0 0 0
バージョン
1.0
作成日
2025/08/01
更新日
2025/08/01
大きさ
15.4KB
ライセンス
MIT
対象サイト
すべてのサイト

Debug CSS

A lightweight extension (now scripts) to show outline of all the element exist on page.

while working on web page development the one of the difficult part is to position the element as required and check which element affecting the other one.

This script allows user to see outline on every element of the page. Hold the keyboard Ctrl button and hover element it will show the element details along with the value.


Usage

Use keyboard shortcut, press Alt+Shift+C key to toggle the Debug CSS. (change line 64 if you want to change the key)


How it works?

This extension works on CSS outline attribute:

add the below code snippet in any CSS of a web page

  * {
    outline: 1px solid red;
  }

The script does the same the only thing is; it gives different color to different element(s) while the code snippet adds red outline to every element.


Thanks to Pranay Joshi the Author of Debug-CSS extension.