Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What can I use to outline HTML elements with visible padding, margin, and borders?

I normally get by quite well using the Chrome Web Developer extension to outline elements, to debug my CSS etc. and when that isn't up to the task, I use the Firefox version (the original, superior version), but what I would really like is a tool that can outline the 'footprint' of an element showing the 'core' element, its padding, its border at real width, and its margins.

Is there such a tool for Chrome, or for Firefox for that matter?

like image 859
ProfK Avatar asked Oct 23 '25 23:10

ProfK


1 Answers

To outline all elements:

* {
  outline: 1px red solid;
}
like image 123
Dorian Avatar answered Oct 26 '25 16:10

Dorian



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!