How to get CSS selector easily - kdaisho/Blog GitHub Wiki

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