Is there a CSS selector to only select the first foo anywhere within root? Note the extra nesting and empty first div. <div id=“root”> <div /> <div> <span className=“foo”>This one</span> </div> <div> <span className=“foo”>Not this one</span> </div> </div>
-
-
The two spans aren’t siblings (no common parent) because of the surrounding divs.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.