Text Styles

Change the text characteristics for an element.

Topics

Font Styles

font-family

Specifies the font used for the text in an element.

font-size

Specifies the font size for the text in an element.

font-weight

Specifies the font weight for the text in an element.

Text Sizing

tv-minimum-scale-factor

Sets the minimum size for text.

tv-text-style

Sets a predefined size and style for text.

tv-text-max-lines

Specifies the maximum number of lines of text in an element.

Text Shadows

text-shadow

Adds a shadow effect to displayed text.

See Also

Styles

Color Styles

Provide the ability to customize an element's color.

Element Shaping

Modify the size and shape of an element.

Element Alignment and Spacing

Modify the alignment and spacing between elements.

tv-placeholder

Sets a default image for an img or monogram element.

tv-rating-style

Sets the displayed image for rating a product.

tv-transition

Specifies how an element transitions on and off the screen.

tv-text-highlight-style

Specifies how an element looks when it comes into focus.

tv-scrollable-bounds-inset

Creates an unscrollable region of a specified size at the top and bottom of the stack template.