• Style a node and its elements that have a given tag name.

    Parameters

    • node: HTMLElement

      The base node.

    • tagName: string

      The html tag name to style.

    • Optional className: string

      The optional CSS class to add to styled nodes.

    Returns void