In reply to https://geoffgraham.me/nth-child-counts-line-breaks-as-spans-in-css/. I think this is …
In reply to
.I think this is exactly what happens. A span:nth-child(3)
selector will match only the span
that is also its parent’s 3rd child. Your br
isn’t counted as a span, it’s counted as a child element.
But today I learned that
:nth-child()
counts all elements[.]