shiny.ui.tags.style#

shiny.ui.tags.style(*args, children=None, **kwargs)#

Create a <style> tag.

The <style> HTML element contains style information for a document, or part of a document. It contains CSS, which is applied to the contents of the document containing the <style> element. Learn more at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style

Parameters
  • *args – Child elements to this tag.

  • children (Optional[List[Union[Tagifiable, Tag, MetadataNode, str, TagList, float, None, Dict[str, Union[str, float, bool, None]], Sequence[Union[Tagifiable, Tag, MetadataNode, str, TagList, float, None, Dict[str, Union[str, float, bool, None]], Sequence[ForwardRef]]]]]]) – Child elements to this tag.

  • **kwargs – Attributes to this tag.

Return type

Tag