Chrome DevTools snippets: Draw border around every element
16 January 2023 (Updated 16 January 2023)
Run the below in the Console (Cmd + Option + C
):
[].forEach.call($$('*'),
function (a) {
a.style.outline = '1px solid #' + (~~(Math.random() * (1 << 24))).toString(16);
});
TODO: Make this run as a bookmark
Source
Tagged:
Chrome DevTools
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment