Debug CSS

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

Tác giả
Hamadah2O2
Cài đặt hàng ngày
0
Số lần cài đặt
0
Đánh giá
0 0 0
Phiên bản
1.0
Đã tạo
01-08-2025
Đã cập nhật
01-08-2025
Size
20 KB
Giấy phép
MIT
Áp dụng cho
Tất cả trang web

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.