I like to have a CSS selector which applies to a DIV element which has inside at least one text part which is currently selected/marked by user.
How can this accomplished?
I think I need something like div:has(any-user-selected-text)
Thanks!
3
I like to have a CSS selector which applies to a DIV element which has inside at least one text part which is currently selected/marked by user.
How can this accomplished?
I think I need something like div:has(any-user-selected-text)
Thanks!
3