I want to select an element that is inside a parent , sourrounded by text (and than an element that isn't), for instance:
<div>
Lorem Ipsum
<img src="..."><!-- <<< Select this-->
dolor sit amet
</div>
<div>
<img src=""><!-- <<< not this-->
</div>
My basic idea is to make single emojis bigger and set emojis inline with text to 1rem
(in a chat application, as WhatsApp, Signal, Discord... do).
I'm using Twemoji, so emojis get translated to images
:only-child()
won't work for me since text doesn't count as an additional child