Debug CSS

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

יוצר
Hamadah2O2
התקנות יומיות
0
סה"כ התקנות
0
דירוגים
0 0 0
גרסה
1.0
נוצר
01-08-2025
עודכן
01-08-2025
Size
15.4 קילו-בייט
רישיון
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.