<div>
soup
Below is a CSS selector that I found could target one <span>
element on a popular micro-messaging platform. I don’t think it’s especially problematic to have such a nesting of so many elements with hashed class-names. Giuseppe Gurgone has a good article explaining it. But I’ve never worked with React Native for Web. It’s very different to anything I’m used to!
html
body
div#react-root
div.css-1dbjc4n.r-13awgt0.r-12vffkv
div.css-1dbjc4n.r-13awgt0.r-12vffkv
div.css-1dbjc4n.r-18u37iz.r-13qz1uu.r-417010
main.css-1dbjc4n.r-1oszu61.r-16y2uox.r-1wbh5a2.r-13qz1uu
div.css-1dbjc4n.r-150rngu.r-1oszu61.r-16y2uox.r-1wbh5a2.r-13qz1uu
div.css-1dbjc4n.r-aqfbo4.r-16y2uox
div.css-1dbjc4n.r-1oszu61.r-1niwhzg.r-18u37iz.r-16y2uox.r-1wtj0ep.r-2llsf.r-13qz1uu
div.css-1dbjc4n.r-14lw9ot.r-jxzhtn.r-1ljd8xs.r-13l2t4g.r-1phboty.r-1jgb5lz.r-11wrixw.r-61z16t.r-13qz1uu.r-184en5c
div.css-1dbjc4n
div.css-1dbjc4n
div.css-1dbjc4n.r-16y2uox
div.css-1dbjc4n.r-1jgb5lz.r-13qz1uu
div.css-1dbjc4n
section.css-1dbjc4n
div.css-1dbjc4n
div
div
div.css-1dbjc4n.r-j5o65s.r-qklmqi.r-1adg3ll.r-1ny4l3l
div.css-1dbjc4n
article.css-1dbjc4n.r-1loqt21.r-18u37iz.r-1ny4l3l.r-1udh08x.r-1qhn6m8.r-i023vh.r-o7ynqc.r-6416eg
div.css-1dbjc4n.r-eqz5dr.r-16y2uox.r-1wbh5a2
div.css-1dbjc4n.r-16y2uox.r-1wbh5a2.r-1ny4l3l
div.css-1dbjc4n
div.css-1dbjc4n.r-18u37iz
div.css-1dbjc4n.r-1iusvr4.r-16y2uox.r-1777fci.r-kzbkwu
div.css-1dbjc4n
div.css-1dbjc4n
div#id__45rojsdmtpa.css-901oao.r-18jsvk2.r-37j5jr.r-a023e6.r-16dba41.r-rjixqe.r-bcqeeo.r-bnwqim.r-qvutc0
span.css-901oao.css-16my406.r-poiln3.r-bcqeeo.r-qvutc0