Test CSS Selectors With DevTools
View on Twitter
💡 Unsure whether your CSS selector will grab the correct HTML element on a page?
👉🏼 Devtools in Chrome allows you to quickly test a CSS selector string.
![In the lower part of DevTools on the Elements tab, type your CSS selector and the corresponding HTML element will be selected.](/images/tips/test-css-selectors-with-devtools.jpg)
💡 Unsure whether your CSS selector will grab the correct HTML element on a page?
👉🏼 Devtools in Chrome allows you to quickly test a CSS selector string.