DevToolBoxGRÁTIS
Blog

CSS Selector Tester - Test Selectors Online

Free online CSS selector testing tool. Test CSS selectors against HTML markup and see matched elements.

Try: p,.intro,li:nth-child(2)
Test results will appear here...
Common CSS Selectors Reference
Basic Selectors
element - Element by tag
.class - By class name
#id - By ID
[attr] - By attribute
Combinators
A B - Descendant
A > B - Child
A + B - Adjacent sibling
A ~ B - General sibling
Pseudo-classes
:first-child
:last-child
:nth-child(n)
:not(selector)
Attribute Selectors
[attr=value] - Exact
[attr*=value] - Contains
[attr^=value] - Starts with
[attr$=value] - Ends with

CSS Selector Tester Online

Test CSS selectors against HTML markup. See matched element count, content preview, and use quick selector examples.

𝕏 Twitterin LinkedIn

Avalie esta ferramenta

4.2 / 5 · 126 avaliações

Fique atualizado

Receba dicas de dev e novos ferramentas semanalmente.

Sem spam. Cancele a qualquer momento.

Enjoy these free tools?

Buy Me a Coffee