Skip to content

How to get CSS selector easily

Daisho Komiyama edited this page Feb 23, 2018 · 2 revisions

Do the following in Chrome dev tool;

  1. Right click on the element
  2. Copy > Copy selector

copy selector

That's it.

You'll get something like this;

#main > div:nth-child(4) > div.container_03 > div > h3
Clone this wiki locally