sajad torkamani

When debugging CSS issues, you might find it useful to add a black border to every element on the page:

* {
  border: 1px solid black;

This can surface many issues like:


It’ll be a fun exercise to create a Chrome extension that runs the below snippet:

const style = document.createElement('style');
style.innerHTML = '* { border: 1px solid black }';