Skip to content

A Chrome extension that helps debug and visualize your webpage's structure by adding outlines to HTML elements.

Notifications You must be signed in to change notification settings

urre/css-outline-debugger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSS Outline Debugger

A Chrome extension that helps debug and visualize your webpage's structure by adding outlines to HTML elements. This project was inspired by the excellent Pesticide tool, originally created by Adam Morse.

Screenshot with outlines

Click the button to enable

Screenshot with outlines

How it looks turned on

Features

  • Instantly add outlines to all HTML elements on a page
  • Toggle outlines on/off with a single click
  • Customize outline colors based on element types
  • Visualize nested elements and their relationships
  • Debug layout issues more efficiently

Installation

  1. Clone this repository or download the ZIP file
  2. Open Chrome and navigate to chrome://extensions/
  3. Enable "Developer mode" in the top right corner
  4. Click "Load unpacked" and select the extension directory

Usage

  1. Click the black CSS Outline Debugger icon in your browser toolbar
  2. The extension will toggle outlines on all elements of the current page
  3. Click again to turn off the outlines

How It Works

The extension injects CSS that adds colored outlines to HTML elements, making it easier to visualize the page structure and identify layout issues.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A Chrome extension that helps debug and visualize your webpage's structure by adding outlines to HTML elements.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published