Sorry, no previous sibling selector exists in CSS; so in pure CSS you can't target the sibling before an empty element - or can you? Rearrange the display order using flexbox and the order property and then use the next-sibling selector. Technically ...

Markdown supported · ⌘↵ to post
No responses yet.