Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<meta charset="utf-8" />
<title>CSS Selectors Invalidation: :nth-child(... of class) when ancestor changes</title>
<link rel="author" title="Steinar H. Gunderson" href="sesse@chromium.org">
<div id="toggler">
<p>Ignored</p>
<p>Not ignored</p>
<p style="color: green">Not ignored</p>
<p>Not ignored</p>
<p style="color: green">Not ignored</p>
<p>Ignored</p>
</div>