In browser

<content> & select attribute

<content>: insertion point that projects the text from the shadow host to shadow root.

<content select=".classInHost"> looks inside the shadow host for any element with a matching class of .classInHost. If an element in the shadow host has the class of classInHost, its contents will be rendered in the shadow DOM.