Skip to content

Instantly share code, notes, and snippets.

@coodoo
Created February 2, 2023 08:42
Show Gist options
  • Save coodoo/652ec0cf8d7da5d9e1b08990175a8f21 to your computer and use it in GitHub Desktop.
Save coodoo/652ec0cf8d7da5d9e1b08990175a8f21 to your computer and use it in GitHub Desktop.

Revisions

  1. coodoo created this gist Feb 2, 2023.
    1 change: 1 addition & 0 deletions css_outline.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    $$('*').forEach(e => {e.style.outline = "1px solid #" + (~~(Math.random()*(1<<24))).toString(16);e.style.outlineOffset='-1px'} )