Closed skube closed 7 years ago
I understand you can target using querySelectorAll. Is there a way to use pseudo class selectors such as :not()
querySelectorAll
:not()
For example, to all .bar except the first one:
.bar
sr.reveal(document.querySelectorAll('.bar:not(:first-child)'));
You can pass any valid CSS selector to the reveal() method. See Live Example
reveal()
I understand you can target using
querySelectorAll
. Is there a way to use pseudo class selectors such as:not()
For example, to all
.bar
except the first one: