Oddbean new post about | logout
 nostr:npub1j46f9va5qdrmamcwmncew7g8mwekgma386dhws6k04fsnlkqpcpsj23gm7 Probably not as easy, but `div .foo` matches markup like this:

<div><span class="foo"></span></div>

That span tag could be any tag because `.foo` is not prefixed with a specific tag name.

While `div.foo` matches this:

<div class="foo"></div>

BTW, `div.foo.bar` matches:

<div class="foo bar"></div>

But not divs with only foo.