1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00
Files
til/chrome/selecting-dom-elements-faster-than-ever.md

555 B

Selecting DOM Elements Faster Than Ever

Selecting and inspecting DOM elements: you've done it many times before. Whether you right click the element and select Inspect (which isn't always all that accurate) or you use the DevTools' inspect tool with highlight-assist, it takes a couple clicks to get there.

There is a faster way.

Hit Cmd-Shift-C.

Chrome DevTools will be expanded open if it isn't already and your mouse pointer will be put in inspect mode with the highlight-assist. Find your DOM element, give it a click, and start inspecting!