Я вижу этот шаблон по всей домашней странице Microsoft Microsoft.com. < /p>
Вот пример -< /p>
:host::part(tab-item__content) {
display: var(
--ds-tab-item-content-display,
${t(e.contentDisplay)}
);
flex-direction: var(
--ds-tab-item-content-flex-direction,
${t(e.contentFlexDirection)}
);
gap: var(--ds-tab-item-content-gap, ${t(e.contentGap)});
align-items: var(
--ds-tab-item-content-align-items,
${t(e.contentAlignItems)}
);
width: var(--ds-tab-item-content-width, ${t(e.contentWidth)});
max-width: var(
--ds-tab-item-content-max-width,
${t(e.contentMaxWidth)}
);
font-size: var(
--ds-tab-item-content-font-size,
${t(e.contentFontSize)}
);
font-weight: var(
--ds-tab-item-content-font-weight,
${t(e.contentFontWeight)}
);
...
}
Подробнее здесь: https://stackoverflow.com/questions/797 ... s-selector