Palette
    Preparing search index...

    Function css

    • Create a CSSStyleSheet from the provided CSS string.

      Interpolated Component classes are replaced with their tag name, so styles can target child components without repeating tag names.

      Parameters

      • strings: TemplateStringsArray
      • ...values: (string | typeof Component)[]

      Returns CSSStyleSheet

      A CSSStyleSheet containing the provided CSS

      const style = css`
      ${UserCard} { display: block; }
      `;