Skip to content

Instantly share code, notes, and snippets.

@mhimanshu0101
Created April 21, 2022 10:01
Show Gist options
  • Save mhimanshu0101/0e57db01b2157e6ef1a7fd0275ed08a1 to your computer and use it in GitHub Desktop.
Save mhimanshu0101/0e57db01b2157e6ef1a7fd0275ed08a1 to your computer and use it in GitHub Desktop.
Frontend element revealer by adding `Red` border

Reveal UI html and CSS elements of your website

To do this, open console of browser and run following code

document.head.insertAdjacentHTML("beforeend", "<style>* { outline: 1px solid red; }</style>");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment