DEV Community

Discussion on: Things you may not know about Chrome DevTools

Collapse
 
emnudge profile image
EmNudge

These are nice tips! To add to a few more:
$0 is the currently selected element in the elements viewer tab
$$() is shorthand for document.querySelectorAll()
You can use the color picker to get a color on any page by clicking on a color box in the css. You can change the color format with the arrows to the right.

Collapse
 
worsnupd profile image
Daniel Worsnup

To add to this: $1 is the previously selected element, $2 the one before that, etc, etc.

Collapse
 
emnudge profile image
EmNudge

Wow, it seems so obvious, but I never even knew that.